BibKnowledge: lxml port get_kbt_items_for_bibedit

* Replaces usage of `libxml2` and `libxslt` with `lxml` in
  `get_kbt_items_for_bibedit` function.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSession: user agent in current user fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebStyle: handling file POST or PUT fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibSched: max length of `SchTASK.progress` fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
testutils: logount when not logged in fix

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

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

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

* Fixes problems with user registration and lost flash messages after
  login.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSearch: websearch user settings form fix

* Addresses issues with applying user settings in search results.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSearch: template `url_for` fixes
WebSession: login redirection fix

* Fixes redirection problem when trying to access a page that needs
  authentication.

* Updates `invenio_wash_urlargd` in order to not overwrite kwargs values.

* Fixes WebUser regression tests.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibKnowledge: regression tests fix

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

* Addresses issue with broken 'xm' output format.

* Improves landing page compatibility with regression tests.

* Adds `unittest2.TestCase` as base class for `InvenioTestCase`.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebComment: prepare attachement location fix

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

* Adresses problem with incorrect output format handling in search
  results.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSession: customizable settings widgets

 * Fixes saving settings widgets.

 * Fixes closing and opening widgets.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSession: settings widget closing fix

* Adds lazy loading of user settings widgets.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibFormat: fix preview record using tpl

* Adresses problem with formating record using Jinja2 template from
  MARCXML without record id.

Signed-off-by: Raquel Jimenez Encinar <raquel.jimenez.encinar@cern.ch>
Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
installation: release control fix

* Informs super admins if newer version of Invenio is released.

* Adds new manager command `check-for-software-updates`.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
dbquery: regression tests fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>