use the git submodule/included libgit2 in NPM. Forcing npm install to use bundled libgit2, since it's updating so often.
data for newly resolved ref.
test for ref packing. Still needs to be expanded a bit to test for situations where a ref is in the middle of deletion for example.
Also did some cleanups all over the place.