[feature] 
* Updating lucene index to version 4.2.1. Major architectural changes in lucene require some redesigns: nodeId and docId are now stored as docvalue fields, which are much faster than normal fields.

* Enable extension indexes to hook into eXist's query optimizer and rewrite expressions by implementing interface QueryRewriter.

svn path=/branches/rangeindex/; revision=18393
[feature] New range index based on lucene 4.2. Will provide more features and optimizations than the old implementation.

svn path=/branches/rangeindex/; revision=18394
[ignore] Also delete new range index dir when running ant clean-default-data-dir

svn path=/branches/rangeindex/; revision=18395
[ignore] Fixing tests

svn path=/branches/rangeindex/; revision=18396
[ignore] Enabling range index module in conf.xml.tmpl

svn path=/branches/rangeindex/; revision=18397
[ignore] Add range index module to defaults in conf.xml.tmpl

svn path=/branches/rangeindex/; revision=18398
[ignore] Merge in trunk up to rev 18405.

svn path=/branches/rangeindex/; revision=18406
[bugfix] Fixed NPEs in upgraded lucene index.

svn path=/branches/rangeindex/; revision=18408
[ignore] merge trunk up to rev 18646

svn path=/branches/rangeindex/; revision=18647
[ignore] update lucene from 4.2.1 to 4.3.1 & add facet jar

svn path=/branches/rangeindex/; revision=18660
[ignore] merge trunk

svn path=/branches/rangeindex/; revision=18661
[feature] metadata integration into full text search 

svn path=/branches/rangeindex/; revision=18681
[ignore] documents search plus facets (without highlighting)

svn path=/branches/rangeindex/; revision=18750
[feature] facets on nodes search

svn path=/branches/rangeindex/; revision=18754
[ignore] missed file from previous commit

svn path=/branches/rangeindex/; revision=18755
[ignore] avoid NPE

svn path=/branches/rangeindex/; revision=18765
[ignore] avoid exception if no metadata set

svn path=/branches/rangeindex/; revision=18775
[ignore] move metadata interfaces to core because of dependencies at lucene index

svn path=/branches/rangeindex/; revision=18778
[ignore] clean up metadata builder

svn path=/branches/rangeindex/; revision=18779
Allow index specification on qname instead of full path (to keep it compatible with lucene index and old range index).