Dev search improve

This PR improves search ranking significantly.

Fixes:
 #148  #134 #133 #129 

I also added integration tests to test for the results ranking.

Layers and features search are also significantly improved.