PEP8 and fix various flake8 warnings
Merge pull request #73 from sciunto/pep8

PEP8 and fix various flake8 warnings