Add toHex.
Remove old code.
Remove fromHex and replace it with a constructor.
Add GitOidShorten before testing.
Add unittests and make GitOidShorten a refcounted struct.