Ported code to python 3.3

These commits make imdb-pie compatible with python 3.3 while still being compatible with python 2.

The tests run fine with both python 2.7 and python 3.3 (I haven't tested python 2.6) and I am now able to use imdb-pie with python 3.