(OPS) WebSearch: fix regression test WRT services

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
WebStyle: no crash in invenio.wsgi initialisation

* Avoids crashing in invenio.wsgi during pre-loading of data
  structures. In this way, even in case of bugs in one of the
  calls, the site can still load.

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Merge pull request #138 from kaplun/webstyle-wsgi-capture-exceptions

WebStyle: no crash in invenio.wsgi initialisation
BibRank: citation flip flop

* Fixes an issue that caused dropping citations on re-indexing during
  the journal catchup phase.

Signed-off-by: Daniel Lovasko <daniel.lovasko@cern.ch>
Co-authored-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Merge pull request #139 from lovasko/citation-flip-flop

BibRank: citation flip flop
Merge pull request #137 from kaplun/websearch-fix-search-services-regression-test

(OPS) WebSearch: fix regression test WRT services
BibAuthorID: ORCID support for rabbit

* Rabbit tries to match papers to profiles by ORCID, after trying to
  do so with an INSPIRE id.

* The ORCID is located in $__j fields with the prefix of 'ORCID:'.
  (PR inspirehep/invenio#135)

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Gilles Louppe <g.louppe@gmail.com>
OPS BibField: complement support for CFG_BIBFORMAT_HIDDEN_RECJSON_FIELDS

To be stashed with 9b94e59b7c926025507ccb163d3dec8578a0423c

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Merge pull request #142 from kaplun/bibfield-fix-api-for-hidden-fields

OPS BibField: complement support for CFG_BIBFORMAT_HIDDEN_RECJSON_FIELDS
BibAuthorID: single profile when moving signatures

* Attributes signatures re-assigned by a curator
  to a single profile. So far, one new pid was
  created per paper.

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
Reviewed-by: Gilles Louppe <gilles.louppe@cern.ch>
Merge pull request #122 from atsikiridis/signature-reassignment-fix

BibAuthorID: single profile when moving signatures
BibAuthorID: reassign signature when rejecting

* Rejected signatures are reassigned to an
  existing profile with the same matchable name.

* If there is no such profile, a new profile is created.

* Claimed signatures not moved when rejecting papers.
  This regression was casusing moved signatures to appear twice
  in the target profile.

* Introduces upgrade script removing duplicate signatures.
  (PR inspirehep/invenio#121)

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
Reviewed-by: Gilles Louppe <g.louppe@gmail.com>
Acked-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Merge pull request #143 from kaplun/pr-121

BibAuthorID: reassign signature when rejecting
BibAuthorID: fix syntax error

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
BibAuthorID: indentation fix in upgrade

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Merge pull request #141 from kaplun/old-pr-135

BibAuthorID: ORCID support for rabbit
BAI: Introducing Hoover algorithm for HepNames

External IDs (like inspire-ids or ORCIDs) are automatically connected to
person profiles only when a paper carrying that id is manually claimed
to the profile.

* Hoover will identify for each author - that it is possible - those
  identifiers and try to connect them to his profile.

* After hoover will try to move all the signatures with that identifier
  to that profile.

* Finally, hoover will connect the profile with the HepNames record
  belonging to that author.