Provide file attachment revision info in the API and JavaScript.

Review Request #7116 — Created March 25, 2015 and submitted — Latest diff uploaded

Information

Review Board
release-2.5.x
2660d6f...

Reviewers

The file attachment resources were missing revision information, which
we'll soon be needing in the UI. A revision field has been added to
the serialized data for file attachments in the API.

The JavaScript resource models load in the revision information from the
API into an attribute, and default the diffAgainstFileAttachment
attribute to null (instead of undefined).

Python and JavaScript ynit tests pass.

Used these values in another change.