search: fix query string in add-to-search

* Adds double quotes around author filed value. (closes #2251)

* Splits terms by whitespace or quotes and join them
  with proper operator. (addresses #2252)

Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>