search: Search-bar adaptation to typeahead 0.10

* Makes the parser configurable

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>