Add support for Python3

Adds automatic testing and support for Python 3