added test for textContent
fixed childNodes property after textContent change

Node
* textContent now flushes the associated childNodes (here is a
potential issue where manipulating the a parent in a loop will not
reset the active childNodeList instance)

helper
* fixed jshint notice