Split up handling of element names/namespaces.

This is now split up on Ragel level, simplifying the corresponding Ruby code.
Only set explicit ivars in the lexer.
Only include debug info when DEBUG is set.
Boilerplate for the XPath lexer.