LPS-45858 Modify test to get the modified and last merge time date of the updated layout.

This causes the test to fail and reveals an issue: the last merge date of layout A is updated when another layout B is reset, even if layout A hasn't been reset.
LPS-45858 Consider the first propagation case

In this scenario, the last merge time is 0 and therefore the modified date is greater than it, but the layout must be merged.
LPS-45858 Skip portlet preferences import if the page has been modified in the site

The last merge time of the layout is not updated if it hasn't been merged because it has been modified in the site.
The last merge time of the layout set is not updated unless all layouts have been merged.
LPS-45858 Reuse existing logic
LPS-45858 Add test util logic to set portlet preferences
LPS-45858 Add new reset test case for portlet preferences
LPS-45858 SF
LPS-45272 Throwing a more specific exception
LPS-45272 Make it even more consistent
LPS-45272 Removing legacy code
LPS-45272 Adding the remote publish capability and renaming a function, to make it more clear what it does
LPS-45272 Switching from taskContextMap to exportImportConfiguration
LPS-45272 Reuse the pattern we have in LEBTE
LPS-45272 Needs to be added with draft status
LPS-45272 Also needs to be added as draft
LPS-45272 Form and action changes to relaunch a publish
LPS-45272 Source formatting
LPS-45272 Minor changes towards consistency
LPS-45272 SF
LPS-45994 - actions, functions, paths