docs($location): update $location.search() jsdoc signature

Closes #8050