Add flake8 check to tox file

Run `tox -e flake8` to check python code for usual issues. Currently
Most of the tests are ignored - some of those should be fixed and
uncommented in the future.