Add missing resources to the resources index in the docs.

The draft-original-file and draft-patched-file resources were missing
from the categorized resources index in the docs. This is a trivial fix
that adds them.
Fix several issues with doc generation.

This fixes the generation of docs, due to a change in the 'password'
field for repositories.

It also fixes several bad references and other harmless warnings found
when generating docs from scratch.

Reviewed at https://reviews.reviewboard.org/r/6527/
Show added_in/deprecated_in/removed_in for fields in the API docs.

We've been tagging fields with added_in/deprecated_in (and may soon use
removed_in) in the API field lists, but we haven't shown these in the
docs. These are now displayed along with the field description.

Reviewed at https://reviews.reviewboard.org/r/6529/g