Uses events to signal between ContentManager and other classes

Modifies methods delete_notebook, rename_notebook and save_notebook of ContentManager class, in order to communicate with other classes only through events.

Some refactoring is also done so that logic that is not related to low-level file management is not done inside ContentManager methods.