Creates a new iterator for notes from a commit
The iterator must be freed manually by the user.
pointer to the iterator
a pointer to the notes commit object
0 or an error code