Use ScopedURL in Document
<rdar://problem/103929390>
Pull request: https://github.com/WebKit/WebKit/pull/8255