Python 3 Support

Also fixed shebang line in setup.py (not really important).