Implement Travis testing

Currently it just makes sure that the sphinx and pdf books build.