Added histogram and min_max aggregations to v1 api.

14 jobs for v1-aggregations in 25 minutes and 23 seconds (queued for 2 seconds)