Add .travis.yml; tidy up equation image generation a bit