Start working on compatibility with python3
Porting finished
Added travis
Fix some compatibility bugs
Fix mistake