Merge "resourceloader: Move creation addLink() function to shared mw.loader scope"