Bug #954: Fixes linktracking on file shortcodes and adds compatibility with older shortcodes

Replaces Pull request 954.
trackLinksInField() was not catching file_link shortcodes, so now scans for these and adds to $linkedFiles array.
Also allows for [sitetree_link,id=...] and [sitetree_link id=...]