Change the percentiles agg's name from "percentile" to "percentiles" to make it consistent with the Java api across the board