CMS-2513 Create handlers for getting templates by type and key