Refs #845904: PEP-8, pyflakes, and check.py

Went nuts running pep8, pyflakes, and check.py on files I had done
much with. Fixed over-long lines, odd indentation, wrong whitespace,
etc.

Branch: bug-845904-newsletter-preference-center