Provides events for create, update and delete action

Dispatches events whenever a document or a node is created, updated or deleted.

- [x] Provide an event class for Document
- [x] Provide an event class for Node
- [x] Dispatch events from respective controllers
- [ ] Provide tests