Replaced most javascript with template loading.  Reworked ajax OPTs.  Cache is now responsible for converting data string to appropriate type (ast).
move template-resource mapping logic to ResourceContextMapper middleware.  Add formatted print util for dicts.  Clean service class vars.
Replace context processor with set of handlers grouped by cache status.