Avoid ?url= GET parameter redirection if not on sapphire.php script (#3684)

Avoid ?url= GET parameter redirection the following pull request has been raised for the installer

https://github.com/silverstripe/silverstripe-installer/pull/23

http://open.silverstripe.org/ticket/3684