APIs and classes for implementing result grouping

See the solr wiki for more information