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`