improve(engine): migration of jobs and incidents

- improves the non-public API SetProcessDefinitionVersionCmd
- when migrating a process instance to another version of a process
  definition, it is ensured that the related jobs and incidents
  also reference the new process definition/deployment

related to CAM-2868