JBPM-4249 - Ensure that ksession can be safely used in container managed transaction environment
BZ-1060747: adapted existing code in order to make it work in different cdi implementations
BZ-1065314 - (Jaxb)Task could not be converted to JSON (integral commit)

Squashed:
- cherry pick from commit 4c3d9b582e6f74e16894846791bbe5ebc34a470f
- cherry pick from commit a3a6d829b7533a5c6d45ce698d4b747076df69b1
Fix for mistake in JaxbTask
(cherry picked from commit 4c91fc77c80338306f4588a627eff7d3582f2008)
JBPM-4254: Added endpoint address override feature.
BZ-1068500 - Use public api interface for TaskLifeCycleEventListener instead of internal
BZ-1066298: adding log for before releasing task in order to get the right user
(cherry picked from commit 820d530f6d95219a34546759f3b23605063abea3)
Test class fix (ComparePair for JAXB roundtrip comparisions)
(cherry picked from commit a73d8c6e6238db4ea4a6f2f0b1929e105fcc5051)
JBPM-4259 - Remove logic from TaskDataImpl object (assignOwnerAndStatus(..) method)
BZ-1069117 - Modal with NPE shown after comleting a Human Task in task list

(cherry picked from commit 75bc7e810f9fa508d67087b0a9b6179768e4a34b)
BZ-1070739 - Remote REST rarely throws IllegalStateException: EntityManager is closed when load tested by multiple threads using PPI and HumanTask process

(cherry picked from commit b3ff7f248138b5c5c37870d09740d1fcba0c8451)
BZ-1070739 - Remote REST rarely throws IllegalStateException: EntityManager is closed when load tested by multiple threads using PPI and HumanTask process

(cherry picked from commit 71250a8c63efb863474d440e19a1481f70af0ab8)
BZ-1071944 - REST /task/query operation throws exception when given *no* parameters
Correction for JBPM-4259 - Remove logic from TaskDataImpl object (assignOwnerAndStatus(..) method)
DRL fix: correction for JBPM-4259 - Remove logic from TaskDataImpl object (assignOwnerAndStatus(..) method)
BZ-1060747 - Deployment of Business-central to WebSphere app server 8.5 fails

(cherry picked from commit 5e2d485e165ca7f5c91bf6eaa114c1513e3c75a4)
BZ-1060747 - Deployment of Business-central to WebSphere app server 8.5 fails - fixed executor shutdown procedure in cdi
BZ-1036647 - Improve RuntimeManager for Spring usage - disabling local transaction as it causes failures for spring

(cherry picked from commit 52e922ca65b6c86bfee9021f511e6dfff9debffe)
BZ-1074483 - Web service task with ASYNC mode fails with javax.persistence.TransactionRequiredException
BZ-1071144 - BPMS cluster with deployment unit using PER_PROCESS_INSTANCE session strategy throws java.lang.IllegalStateException