DATAGRAPH-365 : before and after delete events

@jexp as requested manually merged PR under 1 commit message