[testsuite] Add lots of tests to ensure that the query optimizer is properly analyzing all possible types of XQuery expressions. Extend XQuery test suite to support tests on index usage optimizations (if @test:stats annotation is present).
[bugfix] XQuery optimizer failed to analyze enclosed expressions in attributes, default clauses of switch and typeswitch, and map constructors. This severly limited the performance of those expressions.
Add optimizer tests to default tests.
Merge remote-tracking branch 'upstream/develop' into feature/optimizer-fixes
Merge branch 'feature/optimizer-fixes' into develop
[bugfix] eXist 2.0 depends on Servlet API 3.0
Change makes code consistent. Patch by Christian Mahnke
Merge pull request #20 from wolfgangmm/develop

XQuery optimizer fails on several types of expressions
Merge pull request #21 from dizzzz/feature/tomcat6-fix

[bugfix] eXist 2.0 depends on Servlet API 3.0