Py3k v2

Unified code base for Python 2 and 3. DO NOT MERGE YET ;)
This is for experimenting and commenting.
For running on Python 3 you'll need feedgenerator-py3k.