Separate tests into their own module
Add TravisCI
Fix Python 2.6 compatibility in tests
Fix Python 3 compatibility issues
Ignore IntelliJ files
Add TravisCI badge to README