test(engine): add testcase for process deployment

- I can redeploy a process definition if I have existing instances waiting
  in a message intermediate event.
Merge branch 'master' of github.com:camunda/camunda-bpm-platform