Use tox for testing

Version range unchanged, added flake8 (allowed failure on Travis for now, lets fix that in a subsequent PR), and similarly for coveralls