LPS-51358 test WF is called when reverting
LPS-51358 test WF is called when updating a file
LPS-51358 use multiple exn catch

Use Java 7 multiple exn catch to remove duplication.
LPS-51358 move check out related code

Move it closer to the autoCheckIn  / checkedOut tests
LPS-51358 add repository wrapper and wrapper factory

To decouple checkIn/Out from the update and revert operations we'll need
to add functionality around those methods. RepositoryWrappers will be
used for that purpose.
LPS-51358 add skeleton check in/out repository wrapper

We'll move the auto check-in/out logic into the wrapper for the three
methods that require it: udpate and revert.
LPS-51358 move checkIn / lock logic into wrapper

The initialization and cleanup code has been moved into the
`doAutoCheckIn` method. Minimal changes have been made so that
everything works ok:

  - Use *ServiceUtil static references for calling services (this will
    be fixed when DM gets OSGified).
  - Update folder modification date with a fresh date. This will be
    fixed in this same PR later.
LPS-51358 use file entry modified date
LPS-51358 simplify boolean logic
LPS-51358 remove unused `majorVersion` parameter