Added `top_hits` aggregation that keeps track of the most relevant document being aggregated per bucket.

Closes #6124
Improve error when mlockall fails (closes #6288)
Explicitly clean up fielddata cache when clearing entire cache
[SPEC] Added the `percolator_format` URL parameter to the "Percolate" API spec
Set the sortValues on SearchHit post aggregation instead of during the reduce.