Support Text nodes in DOM

Support plain text nodes. This is needed for real documents.