export git_reference__alloc
Merge pull request #1453 from ethomson/refdb_export

Properly GIT_EXPORT git_reference__alloc
General example: run against testrepo.git

Fixes #1455
Merge pull request #1456 from ben/fix-general-example

Fix the general.c example to run against testrepo.git