installation: SQLAlchemy, SQLAlchemy-Utils upgrade

* Updates minimum and maximum version requirements for
  SQLAlchemy and SQLAlchemy-Utils.  (closes #1776)

* Fixes compatibility problems with SQLAlchemy>=0.9 version.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
installation: addition of OS X installation guide

* Addition of a section on how to install invenio software
  on OS X 10.9 or later.  (PR #2392)

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
search: unnecessary `decode('utf-8')` removal

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
legacy: bibrank unicode errors fix

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
workflows: harvesting description arXiv link

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: blocks in styles templates

* Adds blocks and base template for workflow styles templates.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: attached files improvement

* Amends a bit how the "files" task result integrates to show
  any uploaded files in Holding Pen detailed view.

Co-authored-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: styles fixes

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: error signal catching
workflows: indentation from 4 to 2 spaces

* Updates indentation from 4 to 2 spaces across all templates in
  the module.

Reported-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
general: importing modules from packages fix

* Uses Flask-Registry for importing modules from packages.

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
sqlalchemy: custom EncryptedType removal

* Removes the custom EncryptedType and uses implementation from
  SQLAlchemy-Utils.  (closes #2343)

Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
demosite: PendingDeprecationWarning on populate

* NOTE adds PendingDeprecationWarning for demosite populate command.
  (addresses #2394)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
workflows: admin dropdown menu fix

* Fixes covering of admin dropdown menu in hp_maintable template.
  (closes #2384)

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: log output in Holding Pen

* Adds display of the log for BibWorkflowObject's in the Holding
  Pen detailed view.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
deposit: js uploader component

* Adds flightjs uploader component with support for pluggable
  uploader engines such as PLUpload and DropBox.

* NOTE RequireJS path to FlightJS was changed from vendors/flight/lib
  to vendors/flight. Scripts defining flight components must update
  their require statement from require('flight/lib/component') to
  require('flight/component').

Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
deposit: field_display kwargs support

* Adds support for passing kwargs to Jinja macro field_display
  that can pass it to the field. This is useful for passing
  attributes to specific field widgets like (e.g. rows/cols
  for a textarea).

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
tests: testsuite iteration fix

* Fixes invalid attribute access to application configuration.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
jasmine: es5-shim addition

* Adds missing es5-shim asset.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
webhooks: minor documentation update

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