Fix RemoveNotes migration

fixes #285

* delete all stream items referencing notes
* recreate the notes table and references when going down