Robert B. Weide pays tribute to the legendary writer in a slightly indulgent but utterly compelling doc, full of laughs and pathos