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

Closes #6124