Tell Lucene to use 3.6 compatibility

Prevents LUCENE_CURRENT warnings from Hibernate Search and Solr.