Adds tox for testing against multiple pythons.

Also adds a test for json serialization and improves the readme.