Support extended_bounds on DateHistogram
Fix Percentile metrics aggregation (ES 1.2)