LPS-48895 add Sync capability skeleton classes

The lack of an `addFileEntry` method in the capability is
intentional. It will be added in a later commit.
LPS-48895 copy code from DLAppHelper

Copy Sync code from DLAppHelper and deprecate.
LPS-48895 implement sync capability
LPS-48895 register all sync actions as events
LPS-48895 replace hardcoded code by event triggers

Remove sync code from DLAppHelper, replacing it by event triggers in the
repositories.
LPS-48895 create capability to expose event trigger

Expose event trigger so that we can trigger events for some special
cases (e.g. when a file entry is approved an ADD event should be fired)
LPS-48895 raise custom sync events for workflow

Whe the workflow is enabled, "add" or "update" events aren't raised
immediately. Create custom Sync events for this delayed adds or updates
and raise them when appropriate.
LPS-48895 make sync listen to trash events

When an entry is trashed or restored, make sync react.
LPS-48895 remove unused method
LPS-48895 don't execute listeners for root folder
LPS-48895 group tests by context
LPS-48895 split tests into smaller ones

Split tests with more than one assertion into smaller tests with one
assertion each.
LPS-48895 rename test methods
LPS-48895 add tests for Sync
LPS-48895 Remove empty methods usages and document it in breaking changes in case somebody is using DLAppHelperLocalService
LPS-48895 Generalize and name it WorkflowRepositoryEvent so it can be reused when we need to do other things related to workflow
LPS-48895 As this is only used in DLAppHelperLocalServiceImpl move it to that class because it's something very specific to that service.
LPS-48895 Autogenerated
LPS-48895 source format
LPS-48895 Proper var name