Get distributed grouping request work with "sort", without sort (by score)

Make grouping sorting working for distributed queries

Added tests for some use cases and fix them

Remove logger include
Merge branch 'branch_4x' of https://github.com/timoschmidt/lucene-solr into branch_4x