Python 3 support using 2to3.

The test suite is now also installed with the package making it
easier to test the deployed version.