Tidy up the dependencies

Updated the dependencies so that they are scoped better. Deployments that included this library ended up requiring dependencies that ought not t be deployed.

Added a Travis-CI config file for continuous integration builds.