Ported code to Python 3.3.

- I have tried hard to only make changes that retain to porting.
- Py3.2 support has to wait until the ZODB 4.0.0 py3 branch supports it.