Add Index.conflicts()

This adds an initial version of Index.conflicts() which returns all the conflicts from the libgit2 conflict iterator.