Fix bug 676379: UI for quick review.

This adds a couple of utility functions on Revision which can tell if
it needs technical/editorial review, and then in the template for
document display adds, as needed, a block containing a form with
checkboxes for technical/editorial quick review.