Parsing support for more XPath operators.

This still messes up some tests due to botched token precedence (by the looks
of it).