Include function name in error message

* The error messages raised from git2r C functions now have the form
  "Error in 'function name': The error message"

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>