XWIKI-8911: Upgrade to Apache Lucene and Solr 4.7.0
* Fix duplicate classes in transitive dependencies.