search: initial query parser usage

* Adds new record matching API.

* Ports logging and fulltext terms extraction from query string.

* Fixes sorting and ranking with new search engine.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: wip cleanup