references update

Added creation of links to references in endnote and RIS formats.

Also removed some extraneous commented code/notes