Added document.namespaces and Element.points for improved VML support.
Restricted nodeValue type to only strings for some node types, and fixed XPathResult.singleNodeValue.