Cleanly shut down the git library upon process exit
Cleanly shut down the git library upon process exit

This change allows the libgit2 library to clean up after itself. This
helps detect leaks.

lhchavez/quark,lhchavez/quark