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
Fix a JavaScript test discrepency between Firefox and Chrome.

On Firefox, the tests for reloading the New Review Request view failed,
due to a different CSS display value being used when showing the
branches view. Since Chrome and Firefox disagree here, and what we
really care about is that it's being shown again, we can just test that
it's not "display: none".

Reviewed at https://reviews.reviewboard.org/r/6534/
Merge branch 'release-2.0.x'
Don't create a draft review if nothing is changed in the "Review" dialog.

With the rewrite of the "Review" dialog, it was possible to create a draft
review by opening the dialog and closing it without making any changes. This
change adds some logic to avoid saving the review model if there haven't been
any modifications.

Testing done:
- Without an existing draft review, opened the dialog and closed it. Saw no
  draft banner.
- Without an existing draft review, opened the dialog, set "Ship it", and
  closed it. Saw a draft banner.
- Without an existing draft review, opened the dialog, put some text in the
  body_top editor, and closed it. Saw a draft banner.
- With an existing draft review, opened the dialog and closed it. Saw the draft
  banner stayed present.
- Ran js-tests.

Fixes bug 3590.

Reviewed at https://reviews.reviewboard.org/r/6537/
Open the header field by default in the "Edit Review" dialog.

This change makes it so that the header field opens into an editor by default,
except in the case where there's some saved text in there already. This is done
because usually if someone is opening that dialog, it's to add some general
commentary. We might revisit this once the general comments work is done.

While I was in here, I noticed that the label for "Ship It" wasn't lining up
properly with its checkbox, because a CSS rule was too general and was making
it into a block element. I've fixed the rule to be more specific.

Testing done:
- Review dialog with no comments: open editor for the header.
- Review dialog with some comments: open editor for the header.
- Review dialog with pre-existing header text: closed editor.

Reviewed at https://reviews.reviewboard.org/r/6546/