Pep8 cleanup

This is an extension to pep8 cleanups made by Tim Graham. I've used autopep8 to do this massive cleanup. It's mostly about adding/removing blank lines as well as indentation and whitespaces.

See the thread on django-developers: https://groups.google.com/forum/#!topic/django-developers/HqtYI7UHz3w