Python3 compatibility

Adds compatibility with Python 3, but drops support for Python < 2.6 (I guess it could be re-added, if *really* needed).
I also fixed the the rST document which doesn't render properly on PyPI. Hop.