Replaced setReferenceText() with updateRefsForItem(). The latter can be called without having to supply the text to be used in the reference, and in the future will cater for different types of references based on the class name of the referencing a element.
Replaced setReferenceText() with updateRefsForItem(). The latter can be called without
having to supply the text to be used in the reference, and in the future will cater for
different types of references based on the class name of the referencing a element.

corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editor