Add template hooks to email (html and text)

Review Request #8587 — Created Jan. 2, 2017 and submitted — Latest diff uploaded

Information

Review Board
master
7eb88e9...

Reviewers

The two new hooks (one for html and one for text) can be used to add similar
information as what can be added to the review request pages using the
review-summary-header-pre/post template hooks.

The template hook requires the Django request object so that is now passed in
the review_published signal.

Tested using an extension with template hooks for the new hooks. The hooks succesfully added information from the review extra_data field to the mail (both text and html).