Python 3.3 support

This pull request provides support for both python 2.6+ and 3.3+ on the same code line.

I've removed python 2.5 support because well it's much easier that way.  I hope that's OK.  Otherwise I can look at it again and try to get 2.5 support working.