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

Fixes #41.
Depends on #10.