Made it possible to run the QueryTool through a method.
IndexTool will now automatically read indexer.properties.

Works if it is located in the current working directory, index directory
or input directory. Values are passed as parameters to the DocIndexer
class.
Improved how commandline tools initialize log4j.

If they don't find log4j.properties on the classpath, they will create a
console appender and set it to WARN.
Updated old copyright clause in JavaCC file.
Hacked in experimental SRU CQL support.

WARNING: this functionality is far from complete, bug-free or working as
it should be! It is just a quick and dirty starting off point for people
interested in developing this further. If you do look at it, let me know
what you think. I'd be happy to help if you want to work on this.

You can call ContextualQueryLanguageParser.parse() to get a
CompleteQuery object (containing both a TextPattern and a filter Query).
Then wrap the Query in a QueryWrapperFilter and call
Searcher.find(TextPattern, Filter). (This will obviously be streamlined
in the future)
Added phrases, wildcards and properties to exp. SRU CQL support.

To search properties, use contents.lemma=cow. Shortcut lemma=cow also
works (for a few hardcoded property names: word, lemma, pos).

Also made the QueryTool execute the metadata clauses in addition to the
contents clauses.
Wrote log message when forward indices are warmed up.

This allows you to keep track of the warmup process, if you're logging
at the DEBUG threshold.
Changed how QueryTool keeps track of the current query parser.
Made getters for and commented CompleteQuery.
Translated QueryTool examples to English.
Fixed ContextQL parser not parsing operator modifiers correctly.
Slight improvements to experimental ContextQl parser.

Moved utility methods from parser class to separate utility class. Moved
CompleteQuery class to search package, so it can be used more in the
future. Also gave more specific error messages about unsupported
features, and fixed a flaw in the parser.
DocIndexerXmlHandlers now calls startElement() at the right time.

It should call startElement() handlers before the start tag is put in
the content, not after.