Making PyMC 2.3 run on Python 3.3

I made some changes to PyMC to make it compile and run on Python 3.3.
Please review these before merging, because this is my first contact with Python 3.3. 

I can also squash the commits down, if you prefer.