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>
workflows: upgrade compatibility fix

* Fixes compatibility issue in upgrade.

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

* Fixes undefined variable introduced in 95ec7455.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
base: navigation menu buttons cleanup

* Removes inline javascript and css.

* Adds `navbar-btn` class to login and register buttons.

Signed-off-by: Harris Tzovanakis <me@drjova.com>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
assets: requirejs exclude option

* Adds support for exclusion of files in RequireJS builds, to prevent
  files from being included multiple times. (closes #2411)

* Enables more aggressive compression for UglifyJS.

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

* Several improvements for better requirejs compliance.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>