Python 3 compatibility
Yaml is not part of python stdlib
Fix travis config