Revert "LPS-45013 Don't create the set if we don't need to"

This reverts commit fa7fa99beb67f2a5ee98bb5e62bedd5b1b84bf04.
Revert "LPS-45013 Revert changes in SearchPermissionCheckerImpl.java. Let's keep this simple and just use the fix in ResourcePermissionLocalServicImpl that gets rid of the use of the inefficient sql"

This reverts commit e675e71e8539ab9f7bd944d4eefd035be418c061.
Revert "LPS-45013 Excessively long content creation times when a high number of roles is in the Portal"

This reverts commit 93d3aa005a62e31272633d93cb6229172c6dc845.
LPS-45148 Disabled portlet still list in the highlighted category
LPS-45148 We are checking twice the PortletPermission (line 46)
LPS-45109 Testing StringUtil.replace(String s, String begin, String end, Map<String, String> values)
LPS-45109 Add test for replaceWithStringBundle and stripBetween
LPS-45109 Empty strings should be handled as well to avoid infinite-loop
LPS-45109 Apply the same logic to stripBetween
LPS-44521 Fast login doesn't honor company.security.strangers
LPS-45205 Avoid counter increment if it isn't absolutely necessary
LPS-33427 breadcrumb hidden when in specific sections
LPS-33427 Consistency
Test Fixes - Use right test listener
Test fixes - Remove unnecessary test listener
Test fixes - Create a group to be able to delete all elements after test execution
Test fixes - Use local service instead
Test Fixes - These tests must be synchronous
Test fixes - Reset thread local when reseting available available locales
Test fixes - Reset available locales, saving previous state, to restore it after processing