Discourse.getURL
* DEV: Move `Discourse.getURL` and related functions to a module * DEV: Remove `Discourse.getURL` and `Discourse.getURLWithCDN` * FIX: `get-url` is required for server side code * DEV: Deprecate `BaseUri` too.
Also fixes missed imports in core.
This reverts commit 2abe85b834.
2abe85b834