Update travis configuration to use tox, deprecate python 2.5

Travis CI dropped support for python 2.5 last year, and so did virtualenv.