Adding support for stats queries in Solr.
Adding description of stats support to docs.
Fixed the stats tests.