[prototype->jQuery] Remove usage of link_to_remote_if_authorized

This refactoring helps to remove remaining prototype code.

see:https://www.openproject.org/work_packages/7066