Use tox to run unittests

Also add support for Travis CI.