Add tox.ini and a first test.
Python 3.x compatibility.