implement the setter for Node.nodeValue.(fixes #1825)

see #1825