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.
Should this function take the `window` as argument or is querying it from the `document` via:

```
let window = owner.window.root();
```

correct?