Fix PEP-8 formatting recommendations in the diffviewer module.

This fixes a series of warnings from the pep8 tool involving missing
whitespace, excess spaces, line length issues, and visual indent
errors in the diffviewer module.

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