Python 3 support using setuptools and 2to3.

Adds Python 3 support. Switches to setuptools for installation to allow the use of an on-the-fly conversion for Python 3 using 2to3.