Add Travis to the repo

This was done over several commits which were rebased into this one.