Fix PEP8 coding style violations (all but E501)

Mostly only whitespace changes.
`pep8 *.py --ignore=E501` returns nothing anymore.

As part of http://24pullrequests.com
This is a case of deliberately not following indenting to help readability, so please keep as is.