Update for Current Drupal 8 HEAD

Drupal 8 bootsrap sequence has changed a bit. This is needed to keep the loader working (mimics the current state of drupal_handle_request())