GUI: restore notification of a project about any modification from UI
The mechanism of notification about changes from UI by user is restored.
It is done by calling ProjectDocument::setModified() from global pointer gProjectDocument where necessary.
This resolves #407 (closed)