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.

Sorry, but it looks like I accidentally "fixed" some trailing white spaces in the files that I touched.