Added initial implementation of build templating

This currently does not copy any files, so files for each environment
must be copied by an earlier build step independently. This will merge the
JSON files and it will render the EJS templates for those files
jshint fixes