PEP8 compliance fixes

Mostly missing blank lines, minor stylistic errors.
I didn't fix all, sometimes on purpose and excluded long lines issues.
I will redo a pass later anyways.

http://www.python.org/dev/peps/pep-0008/