[RFC] basic note iterator implementation

This is a basic note iterator implementation (regarding #1384). I would be happy about comments, as this is my first contribution to libgit2.

This pull requests adds the following functions:
* `git_note_iterator_new()`- create a new note iterator
* `git_note_iterator_free()`
* `git_note_next()` - retrieves the next item of the iterator