Cleanup/Lint the whole project and make it PEP8 compliant

Cleanup/Lint the whole project and make it PEP8 compliant (other than line length)

Get rid of unused imports, of import *s (except in the one place where
it is needed), and a whole lot of space/indent changes.

Realized with the help of :PyLintAuto in vim/python-mode