Python 3.3.1 support

It fixes a lot of python 3.3.0 bugs such as ```import unitest``` failing