Sets the custom backend to an existing reference DB
Read <refdb _backends.h> for more information.
database to add the backend to
pointer to a git_refdb_backend instance
0 on success; error code otherwise