Add flake8 checking and fix flake8 issues

Fixes #100.
update ssw tests to be pep8 1.4.6-compliant
Merge pull request #380 from ElBrogrammer/issue-100

Add flake8 checking and fix flake8 issues