#1639: Use filter to ensure links to files are always correct. Requires data-fid attribute on link.
Merge branch 'SCHOLAR-3.x' of github.com:openscholar/openscholar into master7
#1639: If selection made before inserting link, populate Link Text field.
Merge branch 'SCHOLAR-3.x' of github.com:openscholar/openscholar into master7