BibCatalog: no newlines in subject for RT plugin

* Properly cleans any newlines from the given subject for the
  RT plugin as newlines are not accepted by the CLI bridge to RT.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  BibCatalog: no newlines in subject for RT plugin
BibRecord: search & compare subfields

* Adds new function for searching and comparing subfields.
* Also adds unit tests.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
BibSched: check schSTATUS when detecting status

* bibsched status would not work if schSTATUS was missing.  We are now
  checking for its existance.

Signed-off-by: Alessio Deiana <alessio.deiana@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
RefExtract: improved book search

* Improves book search: looks for books in misc text.

Reviewed-by: Alessio Deiana <alessio.deiana@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
RefExtract: refactored book handling

* Refactoring of book search.

Signed-off-by: Alessio Deiana <alessio.deiana@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibUpload: no reload() in regression tests

* Avoids reloading bibindex_engine and websearch_webcoll
  modules to have an up-to-date representation of indexed
  test records.  (closes #1702)

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
fix metadata_upload security check
Merge branch 'master' of github.com:tind/invenio