Updated parser to better respect the XPath stardard.

This commit:
- improves node and namespace name parsing, not allowing them to start with a number, as per the NCName definition
- fixes the wildcard behavior: instead of behaving like a RegExp (which wasn't specified in the norm), the wildcard should now be be used alone as a node name, and will capture all nodes.