Merge pull request #58 from trevorah/master

Moved predeployment build stuff into build.js and out of the app
added predeploy jitsu hook