add search_parameters in configuration and use search endpoint in query and countQuery
Closes #3420796 Also 2 fixes in loadMultiple to not used $query in the request, and remove "/" at the end of endpoint url.
Closes #3420796 Also 2 fixes in loadMultiple to not used $query in the request, and remove "/" at the end of endpoint url.