SOLR-6726: better strategy for selecting the JMX RMI port based on SOLR_PORT in bin/solr

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1642749 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6795: distrib.singlePass returns score even though not asked for

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_10@1642776 13f79535-47bb-0310-9956-ffa450edef68
SOLR-6694: auto-detect JAVA_HOME using the Windows registry

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