LPS-51358 add repository wrappers

To decouple the workflow from the update / revert operations we'll need
to add functionality around those methods. To avoid polluting the
Capability*Repository with hardcoded calls I'll use repository
wrappers (they are more or less the same as service wrappers).

This will also allow us to remove other hardcoded code in the
capability repositories (like Sync calls).
LPS-51358 add skeleton workflow repository wrapper

We'll move the workflow logic into the wrapper for the methods that
require it: udpate and revert.
LPS-51358 move code into repository wrappers

We move into the wrappers code from two different places:

  - _getWorkflowDLFileVersion(): this code is a slight variation of the
    one contained at the beginning of the `update` method in
    DLFileEntryLocalServiceImpl. It's purpose is to return the file
    version to use when calling the workflow (or null if the workflow
    must not be called).

  - _startWorkflowInstance(): moved from the clean up section of the
    same `update` method.
LPS-51358 pass userId explicitly to updateFileEntry

This will bring close local and non local repository interfaces.
LPS-51358 move methods to superinterface
LPS-51358 remove usages of deprecated methods