Upgraded template assignment logic

- default fallback namespace window._TMPL.templates
- if file path is broken -> error is thrown
- dependend on app namespace mechanism (when concating all templates
  into one js file, on the top (header) the global template hash is
  declared and reused by all bottom assigned templates