Check parser usages

Added a test that makes sure all properties/fields on QueryTreeNodes are used, for all nodes that are referenced. Eventually we would like it to assert that everything is used, but right now it just asserts that the number doesn't change.
Logger and error.

The exit will kill the entire mvn process, right? Could the exception just be propagated?