Fix ShadowWebView.getLastLoadedUrl() to return the last loaded url.

Closes #1170.