BZ-1074483 - Web service task with ASYNC mode fails with javax.persistence.TransactionRequiredException

(cherry picked from commit 4cac63f044346187e2f8527fffddf9ac411036c8)
BZ-1071144 - BPMS cluster with deployment unit using PER_PROCESS_INSTANCE session strategy throws java.lang.IllegalStateException

(cherry picked from commit 478b403f770de330b1ca12ecc21963e6aa1dac95)