LPS-33811 Adding new helper methods to PortletDataContext - since the po...

...rtlet and staged model data handlers both use these helpers, it made sense to put in here in a centralized place