Add more notes test cases

* tests/note.R: Add test cases to annotate a tree and blob
Refactor C function git2r_note_create to work with blobs and trees
Add method note_create for signature S4 class git_blob and git_tree