test(engine): deletion of transient cached historic details

- ensure that cached historic details that are staged to be inserted into the
  database are not in fact inserted when all historic details of the process
  instance are deleted in the same transaction

related to CAM-2912
chore(procDef/query): allow to query with name/nameLike and latest

related to CAM-2758
fix(enine): assignee set from CREATE listener missing in history

fix dirty checking for transient entities

related to #CAM-2921
chore(engine): remove duplicate code

related to #CAM-1453
chore(sql): use ${trueConstant} instead of 1

- replace 1 with ${trueConstant}
- remove redundant queries

related to #CAM-2900
updt(contribute.md): centralize all info on contributing here
docs(IncidentManager): rename parameter to reflect its content

The name jobQuery is confusing when using this manager, because it
actually expects an IncidentQuery. This is most likely a copy and paste
issue.
Merge pull request #114 from falko/rename-incident-manager-parameter

docs(IncidentManager): rename parameter to reflect its content