LUCENE-5952: better error messages when version fails to parse; use simpler string tokenizer; don't check major versions at such a low level

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1626006 13f79535-47bb-0310-9956-ffa450edef68