Added tests from ES DateHistogramFacet -- these don't pass yet :-(
Some refactoring, tests not passing yet though