Add Python version 2.5 to Travis build and remove version 3.1.