Fixed parsing of track_scores in RestSearchAction

The `track_scores` parameter is now parsed by the REST handler

Closes #2986