Handle component namespaces:
- Prompt for application architecture in uiComponent generator (will be refactored to be automatic later)
- If application.js style then use addLocalResource()
- If Component style then use new function: addResourceRoot() (this is still a work in progress for formatting the index.html)
- Fix issue that the rewrite function in utils.js doesn't handle files that use tabs instead of spaces
- Fix formatting for html template files to be all tabs for whitespace (some spaces had crept in) which stuffs up the formatting of file rewriting.
- Added an args option to the rewrite() function to specify extra indents.
Add new method addCommaToLine(args) which allows you to find a line in a file
and add a terminating comment char at a specified offset from that line. Uses
same methods as in rewrite(args).