testsuite: fix InvenioConnector test

* Removes unneeded call to http://cds.cern.ch in test.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
sqlalchemy: add session_manager

* Adds a new utility decorator called session_manager for use
  in models to handle commit/rollback actions.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: new session_manager usage

* Removes duplicate session_manager and instead uses the one
  recently added in ext.sqlalchemy.utils.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
oaiharvester: add save to model

* Adds save method to OaiHARVEST model.

* PEP8/257 fixes.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
OAIHarvest: fix admin pages

* Fixes broken imports in admin pages of OAI harvest sources.
  (closes #2188)

* Bootstraps some templates for easier human interaction.

* Uses the oaiharvester.models.OaiHARVEST for interacting with DB.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
base: dropdown menu and mobile UI fix

* Fixes dropdown menu. (addresses #1994)

Signed-off-by: Adrian Baran <adrian.pawel.baran@cern.ch>
deposit: s/deposition/deposit/

* Changes the word 'deposition' to 'deposit'. (closes #1915)

Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
template: Flask 1.0 compatibility fix

* Fixes return value of Jinja loader iteration due to change in
  Flask 1.0. (closes #2216)

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
sqlalchemy: addition of Encrypted column type

* Adds a custom type which is called `Encrypted`. It uses the AES
  algorithm provided by pycrypto in order to encrypt and decrypt.
  (PR #2204)

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>