Travis configuration file for continuous integration

After merging this it would be great to add the Travis CI webhook to the printerd repo to enable it.

This replaces pull request #24 with a new branch that just has the one commit. The reason for the multiple commits before was having to test with published github branches.