Add options hash into TemplateCache

Add options hash into TemplateCache.loadTemplate and
TemplateCache.compileTemplate functions