Refactoring lucene class

Continouing development of class ; to be tested still
Code is now much cleaner.
One last late change
Merge branch 'develop' of github.com:eXist-db/exist into develop
Merge branch 'develop' of github.com:eXist-db/exist into develop
Merge branch 'develop' of github.com:eXist-db/exist into develop
Merge branch 'develop' of github.com:eXist-db/exist into develop
Make analyser creation as documented
review comments from dmitriy
When RESTXQ detects a security error, it should not fail with a 500.
Instead initiate a basic auth handshake (401), so that the
user can retry the request with the correct level or authorisation.
[bugfix] Query optimizer did not descend into „update …“ expressions.
[bugfix] Nodes were removed from indexes multiple times when using node-level update expressions.
[ignore] Increase allowed-fragmentation parameter: default was much too low, causing delays during updates.
[performance] Drop redundant reindex operations in „update insert“. Should definitely increase update performance.
[testsuite] Separate node-level update tests for new range index.
Merge branch 'develop' of https://github.com/eXist-db/exist into develop
Merge pull request #134 from wolfgangmm/develop

Fix for XQuery Update/XUpdate performance issues
Use the existing authenticator, instead of cooking up a new one.
If a test fails because of an error, don't report that as a success!
Merge pull request #135 from Infiniverse/fix-xqsuite

If a test fails because of an error, don't report that as a success!