Moved note file deletion to NoteModel
Fixed search where no tag metadata present
Fixed note saving so a newline isn't added every time