redirector: API migration to SQLAlchemy

* Replaces run_sql queries with SQLAchemy query.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
redirector: registry addition and refactoring

* Refactors module in order to move logic from api to model.

* Creates new registry for redirect methods.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
annotations: fix for broken bundles

* Addresses issue with invalid bundle names in templates.
  (closes #2327)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
collect: addition of filter for Blueprints

* Upgrades to Flask-Collect>=1.1.1. (closes #2353)

* Adds DeprecationWarning to Invenio link storage.

* Updates .travis.yml.

* Updates documentation.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
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>