Update clone options to be in sync with libgit2 master.

Remove missing constants.
Update vendored libgit2 version to master.
Merge pull request #116 from calavera/sync_with_libgit2_master

Sync with libgit2 master.