base: fix config UTF-8 problems

* Encodes legacy `invenio.config` to utf8 and fixes handling of
  translatable utf8 strings.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Co-authored-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
WebSearch: fix for citesummary link template

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibAuthorid: fix for templates

* Removes unnecessary brackets.

Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
deposit: adaptation to new typeahead

* Adapts depositions to typeahead 0.10.0.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
comments: login required for vote and report

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Acked-by: Jiri Kuncar <jiri.kuncar@cern.ch>
registry: imports from `flask.ext.registry`

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibUpload: record signals addition

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
records: `reset_cache` added to `api.get_record`

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibUpload: fix sender msgpackable value

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: fix for collection preservation on search

* Addresses an issue when searching from within a collection and cc
  parameter was not preserved.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
celery: task registry addition

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

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebAlert: fix translatable strings

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebStyle: fix translatable string

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: fix for imports and translatable strings

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
deposit: adaptation to new typeahead

* Fixes reseting a keyword field after adding
  a new one.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebDoc: initial port

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
records: enhance the API to create empty records

Signed-off-by: Esteban J. G. Gabancho <egabancho@gmail.com>
jsonalchemy: enhance default value search

* Additionally to setting the default value, the meta-metadata for the
  field is guessed from the field definitions following this rule
  order: `creator`, `derived`, `calculated`. If none of them is found
  every meta-metadad field is set to `UNKNOWN`.

* Convenience property `additional_info` added to SmartJson

Signed-off-by: Esteban J. G. Gabancho <egabancho@gmail.com>
jsonalchemy: refactoring fixes

* Fixes issues in jsonalchemy found during testing deposit module.

Co-authored-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>