feat(engine): add exception type to error code
- first, implemented for service task with a java delegate

related to CAM-1035
Merge remote-tracking branch 'upstream/master' into CAM-1035-ExceptionType
feat(engine): add some code for exception type to error code
- add implementation for script task, multiinstance and service task
  expression/delegate expression
- adjust test cases for the new feature

related to CAM-1035
feat(engine/rest): Add job query for no retries left
- add query to rest api
- adjust existing testcases for this query

related to CAM-358
Merge branch 'CAM-1035-ExceptionType' of https://github.com/polenz/camunda-bpm-platform into polenz-CAM-1035-ExceptionType
feat(engine): major overhaul of history

- add event stream oriented API
- make it possible to exchange history event consumers in order to plug
  alternative backends
- move from INSERT + (SELECT+UPDATE)* to INSERT + UPDATE* scheme
- update only columns that change
- updates to HistoricActivityInstance table now leverage Primary Key
  instead of 3-column composite index
- add possibility to make history asynchronous (feature not included but
  now possible to build)
- add parent activity instance ID cloumn to historic activity instance table,
  making it possible to extract activity instance tree from History (API
  not exposed yet)

related to #CAM-1092
chore(test): deactivate mybatis logging again
chore(datadepend): Use lib in process instance

-related to CAM-1050
chore(merge): merge from upstream
fix(process-diagram): re-integrate into procDefView
chore(processInstance): Adjust controller

related to CAM-1050
fix(cockpit.processDiagram): delay selection if data not ready
feat(cockpit.procDef): add process instance filter

Closes CAM-1061, CAM-911, CAM-784
refact(cockpit): Refactore procInstView using lib

- the process instance view in cockpit now uses the data depend library

related to CAM-1050
fix(cockpit.procDef): temp fix called process tab
chore(cockpit): Provide calledActivity as deeplink

- in the process definition view (i.e. in the called process definitions
  tab) the activities are now deeplinks

related to CAM-1050
chore(queryParams): Adjust query parameter in uri

related to CAM-1050
Merge branch 'master' of github.com:camunda/camunda-bpm-platform
fix(db2): explicit cast timesamp as date
Merge branch 'master' of github.com:camunda/camunda-bpm-platform