Fix small Python3.3 compatibility issues, added Travis-CI configuration

Hi, These few small issues were causing problems for me when trying to use PyPump with Python 3.3. I also added a Travis-CI configuration.

I am not a Python expert by any means, so please let me have it if I did anything wrong :)