chore(qa): add freemarker template engine to distros

- remove dependencies of qa runtimes

related to #CAM-2449
fix(ldap): escape user id when querying for users

Added escaping of user filter for when querying for users by
user id.  This fixes the problem of the user query not
returning any results if the user DN contains any LDAP special
characters (refer
https://www.owasp.org/index.php/Preventing_LDAP_Injection_in_Java).

related to #CAM-2478
test(case/caseTask): add assertions

related to CAM-2444
feat(engine/forms): provide form variables api

Provide improved access to form variables.
- Get form variables for start forms and task forms.
- takes into account form data specified using form fields
- returns Map of VariableInstance rather than map of raw value
  objects. The VariableInstance provides access to errorMessage as
  well as variableType information.

related to #CAM-2436
feat(engine): add script as possible execution listener

- an execution listener can have a camunda:script child which will
  be evaluated as execution listener
- the resource attribute is also supported for the script element

related to #CAM-2360
chore(webapp): move webapp to separate repository

camunda-webapp moved to https://github.com/camunda/camunda-bpm-webapp
chore(distro): remove lib folder from jboss distro

- redundant with the modules folder
feat(engine): add script as possible task listener

related to #CAM-2361
chore(engine): use script task listener from deployment

related to #CAM-2361
feat(engine): add script as possible sequence flow condition

related to #CAM-2359
chore(processTask): provide a test case for starting process async

related to CAM-2371
chore(engine): move ScriptCondition to scripting package
chore(typo): fix some typos

related to CAM-2436, CAM-2437
chore(pom): update camunda-template-engines version
refactor(example): use the new form syntax
 chore(release): Prepare release: set version to 7.2.0-alpha3
 chore(release): Prepare next development version: 7.2.0-SNAPSHOT
fix(ldap): improve Active Directory support

-- LDAP group query encoding fix
-- Escape id in LDAP user search filter
-- Find users by group id assumed user DN always contained uid

Related to: #CAM-2478
Merge branch 'master' of https://github.com/camunda/camunda-bpm-platform

Conflicts:
	distro/gf31/assembly/assembly.xml
	identity/identity-ldap/src/test/java/org/camunda/bpm/identity/impl/ldap/LdapTestEnvironment.java
	webapps/camunda-webapp/core/src/main/java/org/camunda/bpm/cockpit/rest/dto/AbstractRestQueryParametersDto.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/dto/CalledProcessInstanceDto.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/dto/query/IncidentQueryDto.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/dto/query/ProcessDefinitionQueryDto.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/resources/IncidentRestService.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/resources/ProcessDefinitionRestService.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/sub/resources/ProcessDefinitionResource.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/sub/resources/ProcessInstanceResource.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/jobdefinition/JobDefinitionPlugin.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/jobdefinition/resources/JobDefinitionRootResource.java
	webapps/camunda-webapp/webapp/src/main/resources/META-INF/services/org.camunda.bpm.cockpit.plugin.spi.CockpitPlugin
	webapps/camunda-webapp/webapp/src/main/resources/org/camunda/bpm/cockpit/plugin/base/queries/incident.xml
	webapps/camunda-webapp/webapp/src/main/runtime/develop/jetty/webdefault.xml
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/another-failing-process.bpmn
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/calling-call-activity.bpmn
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/complex-process.bpmn
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/process-with-exclusive-gateway.bpmn
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/two-parallel-call-activities-calling-different-process.bpmn
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/two-parallel-call-activities-calling-same-process.bpmn
	webapps/camunda-webapp/webapp/src/main/webapp/app/cockpit/directives/stateCircle.js
	webapps/camunda-webapp/webapp/src/main/webapp/app/cockpit/directives/variable.js
	webapps/camunda-webapp/webapp/src/main/webapp/app/cockpit/resources/jobDefinitionResource.js
	webapps/camunda-webapp/webapp/src/main/webapp/app/cockpit/resources/taskResource.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/data/dashboard/processDefinitionStatisticsData.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/data/main.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/data/processDefinition/activityInstanceStatisticsData.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/activity-instance-statistics-overlay.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/activityInstanceStatisticsOverlay.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/called-process-definition-table.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/calledProcessDefinitionTable.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/update-suspension-state-action.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/update-suspension-state-dialog.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/updateSuspensionStateAction.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/updateSuspensionStateDialog.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/activity-instance-statistics-overlay.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/activityInstanceStatisticsOverlay.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/called-process-instance-table.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/calledProcessInstanceTable.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/incidents-tab.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/incidentsTab.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/job-retry-dialog.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/jobRetryDialog.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/update-suspension-state-action.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/update-suspension-state-dialog.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/updateSuspensionStateAction.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/updateSuspensionStateDialog.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/user-tasks-table.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/data/main.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/data/processDefinition/jobDefinitionData.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/main.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/processDefinition/job-definition-suspension-overlay.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/processDefinition/job-definition-suspension-state-dialog.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/processDefinition/jobDefinitionSuspensionOverlay.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/processDefinition/jobDefinitionSuspensionState.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/processDefinition/jobDefinitionTable.js
	webapps/camunda-webapp/webapp/src/test/java/org/camunda/bpm/cockpit/plugin/base/IncidentRestServiceTest.java
	webapps/camunda-webapp/webapp/src/test/java/org/camunda/bpm/cockpit/plugin/base/ProcessDefinitionResourceTest.java
	webapps/camunda-webapp/webapp/src/test/java/org/camunda/bpm/cockpit/plugin/base/ProcessInstanceResourceTest.java
	webapps/camunda-webapp/webapp/src/test/java/org/camunda/bpm/cockpit/plugin/base/pa/CreateIncidentsDelegate.java
	webapps/camunda-webapp/webapp/src/test/resources/processes/another-failing-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/another-user-task-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/calling-user-task-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/dynamic-call-activity.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/nested-calling-user-task-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/two-parallel-call-activities-calling-different-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/two-parallel-call-activities-calling-same-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/variables-process-with-call-activity.bpmn
Merge branch 'master' of https://github.com/camunda/camunda-bpm-platform

Conflicts:
	distro/gf31/assembly/assembly.xml
	identity/identity-ldap/src/test/java/org/camunda/bpm/identity/impl/ldap/LdapTestEnvironment.java
	webapps/camunda-webapp/core/src/main/java/org/camunda/bpm/cockpit/rest/dto/AbstractRestQueryParametersDto.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/dto/CalledProcessInstanceDto.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/dto/query/IncidentQueryDto.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/dto/query/ProcessDefinitionQueryDto.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/resources/IncidentRestService.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/resources/ProcessDefinitionRestService.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/sub/resources/ProcessDefinitionResource.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/base/sub/resources/ProcessInstanceResource.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/jobdefinition/JobDefinitionPlugin.java
	webapps/camunda-webapp/webapp/src/main/java/org/camunda/bpm/cockpit/impl/plugin/jobdefinition/resources/JobDefinitionRootResource.java
	webapps/camunda-webapp/webapp/src/main/resources/META-INF/services/org.camunda.bpm.cockpit.plugin.spi.CockpitPlugin
	webapps/camunda-webapp/webapp/src/main/resources/org/camunda/bpm/cockpit/plugin/base/queries/incident.xml
	webapps/camunda-webapp/webapp/src/main/runtime/develop/jetty/webdefault.xml
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/another-failing-process.bpmn
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/calling-call-activity.bpmn
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/complex-process.bpmn
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/process-with-exclusive-gateway.bpmn
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/two-parallel-call-activities-calling-different-process.bpmn
	webapps/camunda-webapp/webapp/src/main/runtime/develop/resources/pa/two-parallel-call-activities-calling-same-process.bpmn
	webapps/camunda-webapp/webapp/src/main/webapp/app/cockpit/directives/stateCircle.js
	webapps/camunda-webapp/webapp/src/main/webapp/app/cockpit/directives/variable.js
	webapps/camunda-webapp/webapp/src/main/webapp/app/cockpit/resources/jobDefinitionResource.js
	webapps/camunda-webapp/webapp/src/main/webapp/app/cockpit/resources/taskResource.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/data/dashboard/processDefinitionStatisticsData.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/data/main.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/data/processDefinition/activityInstanceStatisticsData.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/activity-instance-statistics-overlay.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/activityInstanceStatisticsOverlay.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/called-process-definition-table.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/calledProcessDefinitionTable.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/update-suspension-state-action.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/update-suspension-state-dialog.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/updateSuspensionStateAction.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processDefinition/updateSuspensionStateDialog.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/activity-instance-statistics-overlay.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/activityInstanceStatisticsOverlay.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/called-process-instance-table.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/calledProcessInstanceTable.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/incidents-tab.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/incidentsTab.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/job-retry-dialog.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/jobRetryDialog.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/update-suspension-state-action.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/update-suspension-state-dialog.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/updateSuspensionStateAction.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/updateSuspensionStateDialog.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/base/app/views/processInstance/user-tasks-table.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/data/main.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/data/processDefinition/jobDefinitionData.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/main.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/processDefinition/job-definition-suspension-overlay.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/processDefinition/job-definition-suspension-state-dialog.html
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/processDefinition/jobDefinitionSuspensionOverlay.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/processDefinition/jobDefinitionSuspensionState.js
	webapps/camunda-webapp/webapp/src/main/webapp/plugin/jobDefinition/app/views/processDefinition/jobDefinitionTable.js
	webapps/camunda-webapp/webapp/src/test/java/org/camunda/bpm/cockpit/plugin/base/IncidentRestServiceTest.java
	webapps/camunda-webapp/webapp/src/test/java/org/camunda/bpm/cockpit/plugin/base/ProcessDefinitionResourceTest.java
	webapps/camunda-webapp/webapp/src/test/java/org/camunda/bpm/cockpit/plugin/base/ProcessInstanceResourceTest.java
	webapps/camunda-webapp/webapp/src/test/java/org/camunda/bpm/cockpit/plugin/base/pa/CreateIncidentsDelegate.java
	webapps/camunda-webapp/webapp/src/test/resources/processes/another-failing-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/another-user-task-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/calling-user-task-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/dynamic-call-activity.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/nested-calling-user-task-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/two-parallel-call-activities-calling-different-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/two-parallel-call-activities-calling-same-process.bpmn
	webapps/camunda-webapp/webapp/src/test/resources/processes/variables-process-with-call-activity.bpmn