Clean up a bunch of PEP-8/pyflakes problems.

This change fixes up a bunch of relatively straightforward errors. Most of
these have to do with particulars of whitespace and indentation.

Testing done:
Ran unit tests.

Reviewed at https://reviews.reviewboard.org/r/6284/
Merge branch 'release-0.8.x'
Fix $.fn.retinaGravatar to not stomp all over parameters.

The implementation of URL parsing for retina gravatars was incredibly clumsy if
the user was using any of the extra parameters which are available in settings.
For example, if the user had set GRAVATAR_DEFAULT to something fun, retina
users wouldn't see it because it wouldn't preserve the d= param.

This change makes the parameter parsing much more capable, fixing the size
parameter without touching any of the others.

Testing done:
Set GRAVATAR_DEFAULT to 'wavatar' in my settings_local.py file and saw actual
wavatars instead of the ugly Gs.

Reviewed at https://reviews.reviewboard.org/r/6301/
Merge branch 'release-0.8.x'
Release Djblets 0.8.10.
Merge branch 'release-0.8.x'