make SortingMergePolicy and EarlyTerminatingSortingCollector configurable


For https://issues.apache.org/jira/i#browse/SOLR-5730 ticket.

Also for the first 2 of the 5 ideas on https://issues.apache.org/jira/i#browse/SOLR-4654 ticket.