Added .travis.yml for testing on Travis-CI

This PR includes a .travis.yml confuguration file which enables testing on Travis-CI. See https://travis-ci.org for more information.

To enable this you will need to set up the Travis-CI hook on GitHub.