teach ce_compare_gitlink() about OBJ_LINK

This simply requires parsing out the checkout_rev from the link
object, and comparing its SHA-1 with that of HEAD.
builtin/log: teach show about OBJ_LINK

'git show' now works with link objects.
edit-link: add new builtin

This is a WIP.