LPS-50991 Add tests to verify that deleting a company removes all related entities

There are no methods on the service to retrieve:
   1. portlets from a company
   2. non default password policies
   3. portal preferences
LPS-50991 Verify that Portlets, PortalPreferences and PasswordPolicies are deleted with the company

Is required to open transactions to call the persistence layer, as there is no service method associated.
LPS-50991 Simplify
LPS-50991 SF
LPS-50671 SF
LPS-48578 SF
LPS-49930 Tests
LPS-49930 Fix tests and improve performance
LPS-49930 SF
LPS-50952 Refactor SchedulerEngine interface.
LPS-50952 Apply changes of SchedulerEngine interface.
LPS-50952 Fix unit tests.
LPS-50952 Use == for enum equality testing
LPS-50952 breaks the 3 concat rule