Add ruby bindings for git_libgit2_opts()

/cc @vmg