ENGINE-1760, handle correctly exceptions in the work
ENGINE-1778, fix the disconnect method not handled properly when runtime exception are thrown
ENGINE-1760, change structure of abstract bonita work
ENGINE-1760, remove transitions instance from db  because it was not usefull anymore, keep the archived version to have a trace of where we were"