LPS-33626 Move rootElement to portletDataContext

more information in the ticket: http://issues.liferay.com/browse/LPS-33626