flake8

A whole heap of flake8 changes.

Also, on Travis, run pep8/pyflakes *.py in parent dir, in addition to existing PIL/ and Tests/.