Refactor the pre-commit model a bit.

Review Request #6121 — Created July 21, 2014 and submitted — Latest diff uploaded

Information

Review Board
master
4e44d81...

Reviewers

I'm working on making it so "Update Diff" behaves/looks similar to the
pre-commit section of the "New Review Request" page. This change is a
preperatory step: separating the review request creation from the diff
creation. After this change, RB.PreCommitModel should be usable when a review
request already exists, by setting the reviewRequest attribute.

Verified that pre-commit review request creation still worked properly with
both single and parent diffs.