Add Python 3 support

Currently only enabled python 3.3 in tox and travis as that's all I've tested it on. Passes all tests on my machine, and shouldn't have changed any of the semantics.