Python3

Adds python3 support without breaking python2.7 support.

If you are still maintaining this and interested I can setup tox and travis so all supported versions are tested together.