Run test suite on travis

Attempting python 2.5, 2.6 and 2.7 currently.

This PR is primarily for code review, I will clean up the history and there will be at least two branches coming out of the commits here.