Add Travis file, fix PEP8 issues