Port pyglue to python 3.
Tested with python 2.5 2.6 and 3.3.