Changed deleteNote to throw exception if no note

Also repositories can now do delete with id or NoteEntity.