BZ-1171810: partial fix, deployment id check
JBPM-4478 - EJB Timer implementation for GlobalSchedulerService

(cherry picked from commit 24ab96f301f029c6bd2f2b0cf167df7309bd6528)
BZ-1171853 - Validate variable type when set

(cherry picked from commit 9acea287a421fb735e931bb45442751b92cb7da2)
migration required changes to be able to run 6.2 on 6.1 and 6.0

(cherry picked from commit 8e8bd9a251df61ae1c4cc87432362d10cbfeabdf)
BZ-1171859 - History data cleanup feature for process / human task

(cherry picked from commit 6505c999f6d92f785619f58c7e6b66b4d4e9233f)
JBPM-4526-Reoccurring jobs for job executor

(cherry picked from commit b56c2af1bb787dd089d3c3cd362f85dfdf5833c4)
Combined features from JBPM-4526 (reoccurring jobs) and BZ-1171859-history log cleanup to provide possibility to schedule automatic cleanup of logs in background job

(cherry picked from commit cba7ed29b7fd8ee53689c1e01a105860a0caf5e4)
Improve process instance state assertions in JbpmJUnitBaseTestCase

Add assertion methods which rely on AuditService and work with actual process instance state.
Rewrite tests to use these methods instead of the old ones if persistence is enabled.

(cherry picked from commit 88e5316c96cbc13ee923fa0b4c23257cfb5fdc20)
Restore deprecated assertion methods in JbpmJUnitBaseTestCase

(cherry picked from commit 32395f273eb6ff81095b13aae224a2a4e9027a55)
BZ-1173505 - TaskSummary retrieved using the EJB interface does not have information about potential and current owner

(cherry picked from commit f7c886606a46ce30814806bd191f883ea5bb45df)
BZ-1174880 - Security based filtering for process instance causes empty view
changed security constraints filtering for process instances to avoid empty results in case users do not have access to first page of the result set

(cherry picked from commit af751df1cb0b5be41fecc2302dda5a5c5d626d12)
BZ-1173609 - EJB runtimeDataService.getProcessInstancesByProcessName may return unwanted instances if prefix in name is the same

(cherry picked from commit 5e19378827c4fbee61f8f4f20c63624aed08a4f9)