search: spires syntax parser for Typeahead

Signed-of-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Tested-by: Javier Martin Montull <javier.martin.montull@cern.ch>