Trim meaningless white space from text nodes in cleanTree fn.

If a text node at the beinning of a block began with white-space, it would mean
some situations where we should be doing all the transformations for
enter/delete/backspace were being left to the browser.