BibField: Python-2.4 compliance

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibField: fix for lxml compatibility

Tested-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'master' into next

* master:
  BibField: fix for lxml compatibility
  BibField: Python-2.4 compliance
BibRank: self cites upgrade recipe improvement

* Splits the statements that create SQL tables in 3 different
  run_sql() calls, so that we do not fail any more when the tables
  are already created.  (closes #1482)

Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
WebSearch: Greek translation of Search Guide

Co-authored-by: Evangelos Savvidis <vsavidis@gmail.com>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'master' into next

* master:
  WebSearch: Greek translation of Search Guide
  BibRank: self cites upgrade recipe improvement
BibFormat: QR-code format element

* Adds QR-code bibformat element that links to the current
  record. (closes #1441)

* Requires Python modules qrcode (Python 2.5+) and PIL/Pillow.

Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebSearch: support for 'x*' search output format

* Ports behaviour for formating search results using output formats
  starting with 'x*'.  (addresses #1508)

* TODO refactor code to remove duplications in the websearch blueprint.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSearch: fix facet unicode value problem

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebDeposit: checking existence of CKEditor in js

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebMessage: fix reply on message

* Fixes broken links and page rendering when replying a message.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibField: manager port initial release

* Replaces `inveniocfg` options `--load-bibfield-conf` and
  `--reset-recjson-cache` by new `inveniomanage bibfield` manager:
  `config load` and `reset`.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibConvert: manager port initial release

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
inveniomanage: version command addition

* DEPRECATED `inveniocfg --version`

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
inveniomanage: `apache version` command addition

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
inveniomanage: config manager initial release

* Adds command `database version`.

* Ports commands for printing database and system information.

* Adds commands `database driver` and `detect-system-details` for
  printing usefull debugging information about database and system.

* Ports `config create secret-key` from `inveniocfg --create-secret-key`

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibFormat: bfe elements loader inside engine

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebMessage: fix regression tests

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSession: external authentication port to Flask

* Improvements of `invenio_wash_urlarg` decorator.

* New twitter-bootstraped login page with alternative authentication
  providers.  (closes #1338)

* TODO port function `webuser.loginUser(...)` to SQLAlchemy
WebSession: user registration initial Flask port

* Ports user registration view to Flask but moving register view from
  websession_webinterface to webaccount_blueprint and creating a new
  WTForm form with validation logic for user registration.

* Fixes issue with vertical aligment of icon legend.

* Fixes issue in webuser when dealing with Flask generated legacy
  requests instead of proper legacy requests.

* FIXME Unauthorized access page is not ported.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>