LPS-42073 portlet preferences handling during import

Sent PR for portlets too: https://github.com/brianchandotcom/liferay-plugins/pull/2311