Allow DocumentHelper::upload to take an object with `content` already set.

And provide DocumentHelper::file_upload_json to produce such an object.
Text::analyze_name: Unparse affiliation, and check object types.
PaperOption::find_abbr: New function.