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