Fixing a bug that caused warning message

Was getting "The child axis starting at an attribute node will never
select anything" from code processing code blocks.
Fixing bugs in which descriptions not appearing in references
Calculating topic-link-priority at synthesis stage.
Moving link priority calc to link catalog step
Linking to the highest priority page

Linking to the highest priority page, which means linking to the list
pages where list pages are included and properly configured.