Update to latest libgit2 API renaming

See libgit2 commit 25743bd7c5f14f2287d9c4, where git_index_add_from_workdir
was renamed to git_index_add_bypath
docs: make autodoc work without installing pygit2
docs: merge auto generated and hand writen docs
Improve Index docs

And fix a refcount error through the way.