python3 compatibility changes
add .travis.yml