CMS-2516 GetLayoutTemplatesRequest and corresponding REST API method

polishing