WIP py3k support

There are quite a few forks and branches out there with py3k support. I'll try to combine all the best pieces as most of them mix the support with other cleanups and stuff.

See this as WIP and feel free to comment!