Events for DB-Operations

To implement a trigger-like logic it would be useful to have some events in TObjectManager which were called on DB-operation.

Like:
OnBeforeInsert / OnAfterInsert
OnBeforeDelete / OnAfterDelete
OnBeforeUpdate / OnAfterUpdate

To have a clean mechanism it should be possible to cancel an operation with an exception in a before-event.

This feature was implemented.