[SEE DESCRIPTION] LPS-51191 autogenerated

There are a couple of things in this pull that will be fixed in the next PR for this story:
  1. The calls to the WF capability have been hardcoded into the CapabilityRepository.
  2. Duplication inside the RepositoryWrappers.
  3. General ugliness in the LiferayWorkflowRepositoryWrapper (mainly the FileVersionReference class).

For (1), that code will be moved into the wrappers in the next PR. I've decided to put the code temporarily in the CapabilityRepository to not clutter this PR with too much stuff. 

(2) and (3) are a consequence of DLFileEntryLocalService#updateFileEntry calling the workflow when doing auto check in.  That is fixed in this same PR, at 64a8090;the next PR will clean up the wrappers and remove all duplication.