text: add basic internal hyperlinks

Add 'hyperlink', 'bookmarkStart' and 'bookmarkEnd' elements to support
intra-document links.