Clean up the view_diff.html template.

This change removes some obsolete variable definitions, fixes indentation on
template tags, and generally cleans things up.

Testing done:
Played around with the diff viewer a bit and checked that things looked right.

Reviewed at https://reviews.reviewboard.org/r/4568/