added UniqueEntityEventSession in DefaultBatchedEventProcessor to ensure
only one task per entity in one batch (index and deletes for the same
entity in one batch produced unwanted states), had to provide access to
entity in Esi4jEntityTask to do so.