CMS-4018 Create PortalContext API. First implementation.