deposit: InvalidDepositionType handling

* Handles the InvalidDepositionType exception being raised when
  trying to initialize a deposition type on older submissions which
  is disabled via the DEPOSITION_TYPES config variable.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: Holding Pen previous/next robustness

* Makes the previous/next object getter more robust.

* Adds unit tests for this functionality.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: aborting and skipping

* Adds support in the workflow engine for aborting execution and
  skipping objects using new functions `eng.skipToken()` and
  `eng.abortProcessing()` that will not save the workflow object.
  Useful in complex workflow where for example the workflow object
  is deleted as a final step in a task before aborting/skipping.

* Removes legacy DEBUG flag from engine as logging is anyway logged
  with the debug loglevel.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
deposit: checkbox support addition

* Saves the checkbox values on changed.

Signed-off-by: Pedro Gaudencio <pedro.gaudencio@cern.ch>
Co-authored-by: Javier Martin Montull <javier.martin.montull@cern.ch>
BibSched: post-process data exchange

* Adds the ability for tasks to transfer arbitrary data to BibTasklets
  specified via the `--post-process=` argument via a new task parameter
  `post_process_params`.

Co-authored-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
WebSearch: webcoll post-process data

* Adds sending of added/modified record IDs during webcoll run to
  `post-process` tasklet via a new task parameter `post-process_params`.

Co-authored-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
search: fix for search typeahead configuration

* Makes search typeahead syntax configurable again after refactoring
  jinja block to form.js file in commit
  3ed48581607a534319c0b1624a20b84016c4a649.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
base: jquery-multifile source update

* Moves jquery-multifile source to Github to avoid error on
  installation.

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

* Adds cleancss assets filter with support for rebasing relative URLs
  against COLLECT_STATIC_ROOT.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
previewer: Mozilla pdf.js viewer component

* Adds pdfjs viewer component from Mozilla pdf.js as a single commit.
  This commit is needed since the viewer part of pdf.js cannot be
  installed via bower.

* NOTE: All source code in commit is copyrighted by Mozilla
  Foundation and licensed under Apache License Version 2.0.

Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
previewer: initial pdf.js integration

* Integrates pdf.js support in Invenio including customization of
  default pdf.js viewer.

* Fixes problem with pdftk bundle naming collision.

* Fixes problem with jQuery loading in records module.

Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
previewer: zip preview and styling fixes

* Fixes issue with ZIP files with no content.

* Fixes minor styling issues.

* Changes icons from Bootstrap to Font Awesome.

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