Fix cryptic error

Fixes #1 which turned out to be import errors
Use six.moves and six.next to fix some tests
Travis