ENH: Add flake8 check

Adds PEP8/pyflakes tests.