Added aggs option to percolate api documentation.