Introduced create, update and delete events

There are some situations where you need to do some actions after a persist/delete and before the flush. This PR tries solve this issue introducing three new events that are fired after persist/delete.