Handle doctype.textContent correctly.

I confused Doctype and DocumentFragment nodes when implementing.
auto merge of #890 : Ms2ger/servo/textcontent-getter-bug, r=jdm

I confused Doctype and DocumentFragment nodes when implementing.