BibAuthorID: integration with BibCatalog

* Adds cname of a profile to claim tickets.
* Adds user mail to the tickets everywhere it is possible to do so.
* Adds userid to the tickets everywhere it is possible to do so.
* Adds Hepnames ORCID automatically using bibupload.
* Adds links inside Hepnames and ORCiD record match tickets.
* Adds cname of a main profile inside merge tickets.

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
BibAuthorID: no 'no authors' ticket for collaboration

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
BibAuthorID: button for closing RT tickets.

* Allows admin to close the RT ticket from Inspire site.

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
mailutils: support invalid senders

* Workaround for the lack of an e-mail address validation. In case of
  an unsuccessful attempt to send an e-mail due to invalid address,
  admin is notified via e-mail. (closes #2256)

* Documentation of the forward_failures_to_admin parameter of the
  send_email function.

Signed-off-by: Daniel Lovasko <daniel.lovasko@cern.ch>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge pull request #130 from kaplun/2256-support-invalid-senders

mailutils: support invalid senders
Merge pull request #112 from MSusik/bibcatalog_bai_integration

BibAuthorID: integration with BibCatalog
BibCatalog: no username and password fix

* Also fixes a detail in BibAuthorID ticketing.

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
BibCatalog: fix username check

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
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: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Gilles Louppe <g.louppe@gmail.com>
Merge pull request #132 from kaplun/signature-reassignment-fix

BibAuthorID: single profile when moving signatures
Revert "BibAuthorID: single profile when moving signatures"

This reverts commit d246696247098940c225968d07392913f5f84edc.

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
WebSearch: stemming and '*'

* When a trailing '*' is used in a search over an index for which
  stemming is enabled, removes first the trailing '*', applies
  stemming and readds the trailing '*'.
  (closes #2468)

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
BibAuthorID: ORCID improvements

* Supports not authenticated user pushing to ORCID.

* Fixes external IDs handling when pushing publications to ORCID.

* Introduces support for long living tokens.

* Amends writing of ORCiD into ORCID.

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Gilles Louppe <g.louppe@gmail.com>