Implement Node.contains

Spec:
http://dom.spec.whatwg.org/#dom-node-contains

Closes #1647.
auto merge of #1648 : brunoabinader/servo/node-contains, r=Ms2ger

Spec:
http://dom.spec.whatwg.org/#dom-node-contains

Closes #1647.