[JBPM-3869, BZ-880874] Pessimistic locking support (cherry picked from commit 6a2bad03b74b560e3e2c9564a491738fe78753c7)

- Only includes this: Made tests slightly clearer @Parameters(name="{0}")