CORE-5832 Refactored /search-analyses endpoint.

Renamed this endpoint to /apps with a required 'search' parameter.