Add support for testing with tox

This adds support for [tox](http://tox.testrun.org/).

And tweaks `.gitignore` a little bit.