Missing migration for annotations' references.

In the past we stored link between a highlight and an annotation in the
document independently from the body. Now we require that each such
link has an <a/> tag in the body, so we add dummy links here if such is
missing.
Parse links to short/redirect versions of our paths.

Highlights, annotations, and comments have short versions of our paths
as well.