Clean up code

pep8 errors
pylint errors
Reorder imports
Add pep8 and pylint to setup.py
Add pyc, egg stuff to .gitignore