implemented wholeText and replaceWholeText

dom/text.js
+ implemented wholeText property
+ implemented replaceWholeText method

test/document.js
+ added tests for wholeText and replaceWholeText