BibFormat: PEP8 fixes in bibreformat

* Fixes PEP8 issues in `bibreformat`.  (PR #2220)

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibFormat: recjson update using bibreformat

* Adds `recjson` to the list of available formats that `bibreformat`
  could use.  (closes #1708) (PR #2220)

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSearch: inverted collection scores

* Updates how the `score` value from `collection_collection` is used,
  the lower the score the higher the position.  Useful for running
  Invenio 1 and Invenio 2 out of the same database.  (PR #2058)

* Updates `democfgdata.sql` to use the new score.

* Provides an upgrade recipe to update the `collection_collection`
  relationships. It changes the score setting its value from 0 to the
  number of "son collections".

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
errorlib: tags context fix for sentry

* (PR #2623)

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
installation: python-twitter requirement update

* Updates python-twitter in requirements.txt to the latest version
  (2.0) that supports Twitter 1.1 API.  (PR #2015)

Signed-off-by: Sebastian Witowski <sebastian.witowski@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'master' into next

* master:
  installation: python-twitter requirement update
  errorlib: tags context fix for sentry
  WebSearch: inverted collection scores
  BibFormat: recjson update using bibreformat
  BibFormat: PEP8 fixes in bibreformat

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

Conflicts:
	invenio/legacy/bibformat/bibreformat.py
	modules/miscutil/demo/democfgdata.sql
	modules/miscutil/lib/errorlib.py
	requirements.txt
jsonalchemy: print statements removal

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
Reviewed-by: Gilles Louppe <gilles.louppe@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: initial query parser usage

* Adds new record matching API.

* Ports logging and fulltext terms extraction from query string.

* Fixes sorting and ranking with new search engine.

* Ports data cachers.

* NOTE removes Aleph support.
indexer: hits and nearest terms
indexer: nearest terms
search: caches fix
sorter: wip
wip
search: test create_basic_search_units removal
search: engine fix
indexer: model fix
indexer: xxx
search: yyy
indexer: wip
legacy: updates