Add tox config.
Use pytest-cov for coverage reports.
Get rid of 2to3.