Adding REST API resource for list of available templates.