Use older style string formatting for Python 2.6
Support testing under Python 2.6. Modify TravisCI config.