Fix the upload dialogs on the review UI pages.

Review Request #4169 — Created May 25, 2013 and submitted — Latest diff uploaded

Information

Review Board
release-1.7.x

Reviewers

Fix the upload dialogs on the review UI pages.

The upload dialogs didn't contain the Django forms needed to populate
the on-screen forms, due to not using make_review_request_context. This
function (which hopefully we can kill in the future) has been moved into
reviewboard.reviews.context (to prevent a circular dependency) and is
now used in the review UI rendering code.
Tested clicking Add File when reviewing an image. The dialog no longer
appeared empty.