Updates for generating a JS file from templates, and
flattens the generated structure for builds from the
grunt build task.
Updating gitignore.
Updates component.json