BibWorkflow: holding pen changes and additions

* Creates a standard structure for widgets rendering and
  resolving

* Adds breadcrumbs, timeago, alerts

* Fixes in sorting

* Several improvements in HP templates

* Adds installation of ColVis and Bootstrap themed DataTables.

* Adds color on hover in table and several keybindings, like
  select several rows with shift plus arrow key, escape for
  deselecting rows etc.

* Adds new batch Approval widget

* Adds filtering with tags in UI display.

* Simplifies several methods in HP blueprint

Conflicts:

	Merged-by: Jan Aage Lavik <jan.age.lavik@cern.ch>

	invenio/modules/workflows/static/css/workflows/style.css
	invenio/modules/workflows/static/js/workflows/hp_index.js
	invenio/modules/workflows/templates/workflows/hp_approval_widget.html
	invenio/modules/workflows/templates/workflows/hp_details.html
	invenio/modules/workflows/templates/workflows/hp_index.html
	invenio/modules/workflows/views/holdingpen.py
	invenio/modules/workflows/workflows/marcxml_workflow.py
	modules/bibworkflow/lib/Makefile.am
	modules/bibworkflow/lib/bibworkflow_utils.py
	modules/bibworkflow/web/Makefile.am
workflows: autodiscover widgets again

* Widget's in the Holding Pen need to be autodiscovered so
  reverting previous change to loading.

* Now combines loading of workflows and widgets in one loader.
workflows: fix pretty_date and css import
workflows: fix templates and views

* Removes old references to BibWorkflow elements in templates
  and views.

* Moves JS files from old to new structure.

* Fixes several CSS and JS inclusions in templates.
workflows: fix more template issues

* Fixes problem with JavaScript loading.
* Renames body2 to hpbody in holding pen templates.
date: change function call to lookup
workflows: clean up JavaScript files

* Adds copyright on top of JS files in the workflows module.
* Makes URL's configurable where applicable.
workflows: remove DT_boostrap and use the library

* Removes the DataTables Bootstrap integration from our sources
  to instead use the installed library.
formatter: fix broken bfe_comments

* Fixes the broken import statement in bfe_comments.

* Changes slightly an if statement in
  format_with_format_template to catch more cases.

Co-authored-by: Konstantinos Kousidis <konstantinos.kousidis@cern.ch>
formatter: fix UnboundLocalError in engine
workflows: various fixes to holding pen details

* Now installs google-code-prettify locally during JavaScript
  installation instead of external calls in templates.

* Temporary fix for breadcrumbs.

* Fixes bad import statements in widgets.

Co-authored-by: Konstantinos Kousidis <konstantinos.kousidis@cern.ch>
workflows: change to lowercase names
Merge remote-tracking branch 'jalavik-github/workflows-holdingpen-changes' into code-structure-with-webdeposit
config: fix config autodiscovery order
WebComment: first iteration of record notes

* Notes are extracted from record comments using regular expressions and a
collection of predefined markers;
* Notes are extracted at comment creation time and persisted to the database;
* Notes are displayed similar to comments, but in a different template;
* Other features: modular extraction regex, unit tests, mark note as viewed DB
support.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
WebComment: hierarchic notes support

* Notes can now be hierarchic: Note on Page 1, Fig. 3;
* Refactoring.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
WebComment: templates restructuring

* Notes are now displayed as a custom view for comments;
* Notes and Comments share a base template, which they customize.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
comments: notes porting

* Ported notes code from legacy to new structure

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
comments: cosmetic changes

* The comments' text area is now larger;
* Included 'add comment' form tooltip which explains how to add notes;
* Added a warning when viewing the notes, informing the user that this is a
summarized view of the whole record discussion.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
comments: basic grouping

* Notes are now grouped by their full marker (e.g., P.1: F.2:).

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>