sqlalchemy: fix default integer constructor

* Addresses issue with default constructor on types that do not
  accept arguments in SQLAlchemy>=0.7. (closes #1776)

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
jasmine: initial release

* Adds Jasmine test runner to execute JavaScript unit tests.

* NOTE Test runner is only enabled when TESTING=True and requires a
  bower reinstall and assets rebuild. Please see
  invenio/ext/jasmine/__init__.py for details.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
workflows: classifier task result addition

* Adds task result template for classifier/BibClassify to show
  extracted keywords etc. in Holding Pen.

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

* Moves workflow tasks to classifier tasks.

* Adds a new task for running classifier with deposits.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: object navigation

* Adds buttons for going to previous/next object from the main table
  in the Holding Pen detailed display. The previous/next functionality
  is based from the state of the main table order.

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

* Updates the HTML, RAW and MARC views in the details page.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: PEP8 fixes

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: signals addition

* Adds signals to workflows for when a workflow is started, halted
  and finished.

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
workflows: formatted data from model

* Moves the logic of properly formatting and escaping the data
  from the BibWorkflowObject in Holding Pen from the blueprint
  to the model.

Reported-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
oaiharvester: small task update

* Updates tasks to fix some issues when harvesting with oaiharvester.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
principal: action class and registry addition

* Adds new registry for access actions.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
jsonalchemy: cache engine search fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
archiver: initial port to new code structure

* Implements OIS archiver module using bagit.  (addresses #1579)
  (addresses #2258)

Co-authored-by: Jake Cowton <jake.calum.cowton@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
jsonalchemy: fix SmartJson dumps documentation

* Update dumps documentation to describe the new introduced
  parameter.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
search: fix /collection/ url routing

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: dropdown menu and mobile UI

* Makes admin menu looks embadded in dropdown. (closes #1994)

* Fixes messages dropdown.

Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
sqlalchemy: addition of Encrypted type

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

* Adds python 3 compatibility.

Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>