WIP :warning: beginning TDD of reflog write in refs loose_write()

Looking for feedback on whether I'm going at all the right direction here.
Also, not sure how to get signature and message information to the reflog when it doesn't seem that loose_write() callers even have access to that information.

/cc @vmg