feature(core): Allowing upgrade.php to forward to custom URLs.

Fixes #6442
Merge pull request #6585 from brettp/upgrade_forwarding

feature(core): Allowing upgrade.php to forward to custom URLs.