XPath: Optimize //name queries when possible
XPath: Optimize //name queries when possible

//name means /descendant-or-self::node()/child::name, but we frequently
can replace it with /descendant::name. This means we do not have to build
up a temporary node set with all descendants that can lead to 3x speedups.

git-svn-id: 3715ede575e2934be0fecc9022d600f6f7ea101b@1021 99668b35-9821-0410-8761-19e4c4f06640

zeux/pugixml,zeux/pugixml,zeux/pugixml,zeux/pugixml