Support calls to libgit2 without GIL

To enable, use Rugged.without_gil = true

This allows threaded applications to benefit from threading.
Only the expensive operations of libgit2 are hooked.