Fix reset for staged deletes
Fix some coverity-found issues
Merge pull request #2286 from libgit2/rb/fix-reset-staged-delete

Fix reset for staged deletes
Merge pull request #2287 from libgit2/rb/moar-coverity-fixes

Fix some issues from the last Coverity scan
remote: provide read access to the callback structure

This should make it easier for bindings to dynamically override their
own callbacks.
transports: allow the creds callback to say it doesn't exist

Allow the credentials callback to return GIT_PASSTHROUGH to make the
transports code behave as though none was set.

This should make it easier for bindings to behave closer to the C code
when there is no credentials callback set at their level.
Merge pull request #2282 from libgit2/cmn/remote-easier-bind

A few niceties for binding authors