Function Handle-Link-Reference-Titles

Part of:

package cl-markdown
( handle-link-reference-titles < document > )

Find title lines that can match up with a link reference line
and make it so. Then parse the links and save them. Finally, remove
those lines.