Use tox to run tests, pyflakes, sphinx on Travis-CI

Fixes #41.