Add Python 3 support

This adds Python 3 support and tests against Python 3 with tox and Travis.