Added TemplatePlugins to inject API into templates from plugins. Collection plugin uses this to inject get_collection(s) functions