update: Added `edit` command

* Added a command for quick editing of notes already stored in the
  repository.

Signed-off-by: mr.Shu <mr@shu.io>
fix: noteid boundaries

* Added code that makes sure that a command won't fail on 'index out of
  range' error.

Signed-off-by: mr.Shu <mr@shu.io>