use the index note item's 'value' field for the link if 'reference_text' has no value
index notes in resources refer to archival objects in their tree
Small patch to remove explicit dependency on Resource
Merge pull request #661 from hudmol/index-note-links-improvements

Index note links improvements