Implement Document.{import,adopt}Node

Specs:
http://dom.spec.whatwg.org/#dom-document-importnode
http://dom.spec.whatwg.org/#dom-document-adoptnode

I'll add content tests as soon as I finish them.