search: fix for return key handling in search form

* Fixes an issue where pressing the return key in the simple search
  dropdown caused the form to be submitted with no data. (closes #2253)
  (PR #2282)

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Joe MacMahon <joe.macmahon@cern.ch>
legacy: indexer recjson value fix

* Prevents BibIndex to crash when indexing `recjson` values.
  (closes #2285)

* Fixes problem with unicode strings.

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>