Removing leading whitespace from text nodes

This behavior is more consistent with standard XML parsing as I understand it. (e.g. http://www.usingxml.com/Basics/XmlSpace)

Note: only removing the *leading* whitespace and not the trailing whitespace because web browser implementations of DOMParser preserve trailing whitespace.