fixed several gulp script problems.

1. html not defined in config
2. Modified JS config to include all JS files other than test-results
and bower files
3. added missing app.js to karma config
4. added code to app.js template so that $rootScope.$state and
$rootScope.$stateParams are set when ui-router are selected
5. The template implementation was not working with karma. All script
references on index.html has to be valid when karma runs. However
test:unit only gets run under apps folder which does not utilized the
htmljs results. But at the same time both index.html and app.js
reference the templates module. This gives error running gulp default
task as well as running unit test on karma. Implemented comments <!—
template-holder —> , /** template-holder **/ on index.html and app.js
respectively. modified gulpfile.js to replace the comments with
templates module initialization code.
6. Questionable scaffolding modified in partial/index.js. The results
of running sub generator partial on modules results creating file in
app/modules/[module-name]/modules/partial/[partial-name] directory. I
removed the extra modules later.
7. Future work. Based on reading google’s doc via
https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4
Q9821Es/pub. It seems that this is not a word to word scaffolding
implementation. I am thinking about extending this to utilize
components and sub-section organization as well as adding -directive
-factory -service -controller suffix to all js file names.