added draft document on notes mechanism
added notes databases to datastore

removed notes from command and file tables, as these
are handled in separate tables
refactored and extended notes

- notes are now divided in three categories:
  global, file and command
- global notes work as before
- file notes are dependent on the currently selected
  file
- command notes are dependent on the currently selected
  command
updated draft for notes