Removed marshalling test framework
[JBPM-3869, BZ-880874] Pessimistic locking support

- Squashed/combined cherry-picks:
  (cherry picked from commit 12f54ddd53339429525cb7772678291d221eb125)
  (cherry picked from commit b864149a602dd37173f0852f12112eac2c96eb6f)
- Made tests slightly clearer @Parameters(name="{0}")