ENGINE-1665: BPMEventHandlingJob: mark messages as "in treatment" before scheduling work.
Though, START_EVENT type SWaitingMessageEvent are not marked as "in treatment", as they can be triggered several times.
Added RestartHandler on MessageInstances + WaitingMessageEvents stuck on "in progress" when engine stopped