Update to build using Composer, and use TravisCI to deploy

This pull request achieves two things.

1. It moves builds from custom scripts and git submodules to using composer, allowing deps to be specified declaratively

2. It adds configuration for TravisCI, that will clean the final artifact and deploy it to a separate branch. This will need some configuration tweaks to set up, post acceptance.