BZ-1076472 - Simulation engine: Process, which contains boundary event which probability is equal to 100, returns incorrect results

(cherry picked from commit e6b8ca8734f8c48401f58750fee6f431826b81ae)
Documentation code
(cherry picked from commit c3055e7b4af7e45f7a40f6fd7cbb3833efb49136)
BZ-1070211 - NPE in REST client when querying for process variables history
(cherry picked from commit e644aca9844694cdbcf758c01b4e5481e8d74bfd)
BZ-1070878 - Fix for task status InProgress use in REST API /task/query operation
(cherry picked from commit 3bc1d0ec892e283be43dd1362e194d7aec92b721)
BZ-1074322 - REST /task/query parameter pageSize=10 returns all the tasks (cherry picked from commit 79231d847a49d89536419810912338337be8dad8)
BZ-1070097 - History commands sent via JMS require deploymentId to be set
BZ-1074322 - REST /task/query parameter pageSize=10 returns all the tasks
(cherry picked from commit 9a3c8de74de7fb3b293a2e964551741a3eafb1a3)
BZ-1074322 - REST /task/query parameter pageSize=10 returns all the tasks
(cherry picked from commit f440fb86842c81415bfb21a37bfc48cca4a67284)
BZ-1070097 - History commands sent via JMS require deploymentId to be set
BZ-1074946 - The first get deployment REST request after undeploy throws KieRemoteServicesInternalError
BZ-1074946 - The first get deployment REST request after undeploy throws KieRemoteServicesInternalError
BZ-1079982 - Process deployed to Business-central with PER_PROCESS_INSTANCE session strategy cannot be started via REST
BZ-1079982 - Process deployed to Business-central with PER_PROCESS_INSTANCE session strategy cannot be started via REST (with tests, this time)
BZ-1079982 - Process deployed to Business-central with PER_PROCESS_INSTANCE session strategy cannot be started via REST (last set of tests)
(cherry picked from commit 48d830d65b7421f50845016a335e5cab360d39ec)
BZ-1070097 - History commands sent via JMS require deploymentId to be set
BZ-1079380 - A random command is executed when the GetTasksByVariousFieldsCommand is sent (and import clean-up)
BZ-1071846 - Although JSON response type is declared, drools-wb-rest returns XML in case of any error
BZ-1050894 - A deployment unit in JaxbDeploymentJobResult is wrongly marshalled into JSON
BZ-1083575 - Simulation engine: Unexpected result for a normal distribution of a processing time for a task

(cherry picked from commit bda5ae942a8144408aac3e188874ff802b46f340)
BZ-1083542 - Simulation engine: A task which is placed after a parallel converging gateway is executed more times than expected

(cherry picked from commit 9a6116478fcf56a12d70957de32709cc04720f39)