Added templatecache

This needs a lot of cleanup but it works for now. You should now see the partials compiled into the app when you execute `npm run-script template-cache` before`make compile_js`
Running gjslint against this file resulted in 30 errors.

Most of the errors were minor syntax like:
 * Line 9, E:0001: Extra space after "function"
 * Line 10, E:0002: Missing space before "(" -> Multiple places.
 * Etc...

I fixed most of these with fixjsstyle.