XWIKI-8689: Add Solr indexing daemon thread to handle the automatic indexing of documents as they are queued for indexing
* fix various bugs and build issues before merge