Clean up a bunch of PEP-8/pyflakes problems.
Review Request #6284 — Created Sept. 2, 2014 and submitted — Latest diff uploaded
This change fixes up a bunch of relatively straightforward errors. Most of
these have to do with particulars of whitespace and indentation.
Ran unit tests.