Fixed encoding problem in QueryToolServlet.
Fixed stderr not getting flushed in command line QueryTool.
Improved startup performance in search mode.

TermsImplV3.buildTermIndex() would take a long time because we used a
TreeMap, but in search mode we don't need a sorted map. Used with
HashMap instead.
Added building term index to automatic forward index warmup.

As long as you call Searcher.setAutoWarmForwardIndices(true); before
opening you index, you don't have to call Searcher.buildAllTermIndices()
manually anymore. (auto-warming forward indices is not enabled by
default right now, but probably will be in the future)
Turned on auto-warming of forward indices in QueryToolServlet.
Fixed output writer not getting flushed in QueryTool.
Reset result sets after setting different Searcher in QueryTool.
Added ability to index function attribute to TEI indexer.

Also made the property name for attributes configurable. See the code
for details.