Fix DOMImplementation should be linked to the Document

This fixes issues 2230.

Note: I get a reftest failure when running `make check-ref-gpu`:

```
---- position_fixed_overflow_a.html / position_fixed_overflow_b.html stdout ----
	task 'position_fixed_overflow_a.html / position_fixed_overflow_b.html' failed at 'rendering difference: /tmp/servo-reftest-000072-diff.png', /Users/jviereck/develop/servo/src/test/harness/reftest/reftest.rs:180
```
Looking at the images captured during the reftest, `position_fixed_overflow_a.html` renders just to a white. When running the reftest myself using `./servo ../src/test/ref/position_fixed_overflow_a.html` the output looks as expected.
In the first version of this patch, I wrote the two lines above as:

```
let win = self.owner.root().window.root();
```

it turned out, this caused assertions for rooting like this one

```
task 'ScriptTask' failed at 'assertion failed: *roots.last().unwrap() == rooted.js_ptr', /Users/jviereck/develop/servo/src/components/script/dom/bindings/js.rs:376
```

to fail (you can find more output here: [1]).

Is this is a bug or a feature?

[1]: https://gist.github.com/jviereck/135ef0a688daca793222