Fix #767. Wrong URLs generated in D8 when Drupal is a subdir like http://example/com/foo.

Fixed by setting $_SERVER['SCRIPT_FILENAME'] during SITE phase since thats one thing
that Symfony checks when determining baseURL.