Cosmetics: fix pep8 errors and warnings
Ignore some errors/warnings from pep8
Add requirement file for virtualenv/pip
Add some requirements for static analysis
Fix flakes errors (unused imports)