Rename `score` to `track_scores` in percolate api.

Closes #4624
Change the `sort` boolean option in percolate api to the sort dsl available in search api.

Closes #4625