#2313361 by levelos: Implement hook_entity_delete() to delete engagements associated with a deleted entity.