Do not set CONF flags directly on the tests

Define a method inside the test.TestCase base class so that the tests
can override options safely.
run unit tests with tox

- Add tox configuration for running the unit tests
- Remove run_tests.sh script
- Add travis-ci configuration
hacking: fix H307 errors
remove commented code
hacking: fix E226 errors