Dev tests sphinxsearch + Ranking

This PR includes:

- Corrections in feature search by bbox only
- Integration tests for the search service
- Sort by detail string length after rank
- Small optimizations
- Better error handling
- Increase the number of results returned for layers and locations