alloc doesn't take a refdb; git_refdb_free nicely in the tests
Merge pull request #1491 from ethomson/backends_dont_refdb

alloc doesn't take a refdb