Register LibGit2

WIP, hopefully pushes https://github.com/JuliaLang/julia/issues/4158 a little further along