- doc collector must be passed into search to work
- space name: index under "space", not old/deprecated "web"
- minimal simpler way to get the current documents
Merge pull request #3 from espresto/lucene-space-fix

Lucene space fix
update the editor panels to be useful with WYSIWYG editor of xwiki 5.4.x

- tested with IE 8, IE 10 and latest Firefox (29)
- unfortunately breaks b/w compat, as the wiki firmat no longer accepts
  custom tags; instead use special attributes to store the information
- rendering of the information overlay now happens completely client side
remove log message that eats the serch results if active
remove libraries that are already present in the xwiki container (in a newer version)
update junit jar
update libraries for classpath, too
make number of search results in cswactiuon configureable
update resource reverence in the edit panel
update to jena 2.10.1
minor cleanup: remove duplicated code
better add the servlet jar back

 that way it is not in a servlet container dependent location
encode page urls server side, not client side

only the server has a good chance of detecting
if the '/' should be encided or not
convert automatically rendered links to xwiki/2.1 syntax

also need to encode search terms, too;
extract encoding helper for easier reuse
turns out we need to exclude velocity macros, too
do not enhandle content of other macros

while doing so reduce copy & paste by looping over
all exclude patterns
support nested exclude ranges for annotations
the first term is no longer the original term

instead of scapping the first one go throught the list and try to find
the original search term
also minor codestyle fixes
update test data

actually still two tests fail, but that is because
composite terms are no longer correctly detected