LPS-30387 Fixing export/import of instanceable portlets with <preferences-unique-per-layout>false</preferences-unique-per-layout>
LPS-30387 Source formatting and refactoring
LPS-30387 simplify logic
LPS-30387 Fixed NPE and add condition checks to avoid unnecessary PortletPreferences inserts
LPS-30387 Integration test case
LPS-30387 Source formatting
LPS-30387 Simplified test case