CMS-2192 Templates API design.
Changes in  Controller, TemplateCommands, ComponentTypes.