Backport of a2cff2d
Backport of a2cff2d
Refactoring in preparation of distributed faceting phase 2 speedup
Backport of f74673f (no change)
Minor refactoring and clean up of code
Backport of 29d6038
Full back-port of Solr 4.9 sparse faceting as of 20140821