Update cached_templates helper to handle overrides in root app. Closes #29