base: move of remote autocomplete field

* Moves the script for autocompletion from groups module to
  base module.

* Refactoring the script as a RequireJS module that returns
  a FlightJS component.

* Adds documentation on how to use it.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
indexer: auto-generation of models

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
records: auto-generation of models

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
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.

* Ports data cachers.

* NOTE removes Aleph support.
more cleanup
indexer: hits and nearest terms
indexer: nearest terms
search: caches fix
sorter: wip