CMS-1625 TypeScriptify ContentManager ContextMenu.ts