Add js linkToRemote and linkToRemoteBase

I found myself needing these when removing inline js. Equivalents of those in OC_Helper. Used for creating links to Web-/Cal-/CardDAV resources.

@georgehrke @LukasReschke @bartv2