Simplify HistoryRewriter.RewriteReference()
Replace HistoryRewriter's shaMap with objectMap
Tag target isn't always a GitObject
Teach RewriteHistory to rewrite symbolic refs

Closes #501