SOLR-1677: Add more lenient support for version numbers (also 'V.V') format and add a system property for tests (set by build.xml), that specifies the current lucene version. TODO: Update all solrconfig.xml files to add the '3.1' luceneMatchVersion.