Setup ignores for flake8
Fix the style of the code base to better match pep8
Run flake8 as part of the test suite
Merge pull request #1509 from dstufft/flake8

Use Flake8 to enforce code style