drop support for 2.5; improve travis; use py2.6+ syntax