Removed lazy way of setting instance variables.

This process is quite a bit slower compared to setting instance variables
directly.
Enforce symbols for element attributes.

This comes with a little bit of memory overhead but this should be minor in
most cases.
Boilerplate for the XPath lexer.