global: file renaming

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
global: new code structure

* Adds Sphinx documentation.

* Moves Jinja2 templates to the new code structure
  `invenio/modules/<name>/templates/<name>/index.html`.

* Adds new tag module developed by Krzysztof Lis
  <krzysztof.lis@cern.ch>.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Co-authored-by: Esteban J. G. Gabancho <esteban.gabancho@cern.ch>
Co-authored-by: Krzysztof Lis <krzysztof.lis@cern.ch>
Co-authored-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>

NOTE: beware, patch amended by Tibor to use new file names
documentation: initial release with manage command

NOTE: beware, patch amended by Tibor to use new file names
workflows: move to new structure and fixes

* Fixes handling BibWorkflowObject created by the user outside
  of the workflow. When BibWorkflowObject is created by user and
  its in RUNNING version and it doesnt have id_workflow it will
  be the object that worfklow is working on (data and state will
  be changed). There will be extra INITIAL object created to save
  state of the object at the begining. It allows the user to know
  object id befor processing it.

* Adds more things to redis sorting.

* Refactors the logging system in BibWorkflowObject and
  BibWorkflowEngine, adding new logging handlers to save
  logs to both database and stream output.

* Logs are now added using the API of the logging module,
  for example obj.log.info instead of obj.log_info as before.

  NOTE: There is however a known issue that log.debug is
        not functioning properly - possibly due to Celery
        resetting logging levels.

* Changes the BibWorkflowObject model to store extra_data
  in the same way as data. Meaning, using the "hack" made
  for storing data as LargeBinary. This means that outside
  the scope of workflow tasks, obj.get_extra_data() and
  obj.set_extra_data() must be used to access and update this
  field.

* Updated the new logging structure to work better
  overall and fit with the new code structure.

Co-authored-by: Wojciech Ziolek <wojciech.ziolek@cern.ch>
Co-authored-by: Jan Aage Lavik <jan.age.lavik@cern.ch>

NOTE: beware, patch amended by Tibor to use new file names
base: blueprint static folder check addition

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

NOTE: beware, patch amended by Tibor to use new file names
cache: use CFG_DATABASE_NAME as CACHE_PREFIX if not specified

NOTE: beware, patch amended by Tibor to use new file names
BibDocFile: port of plugins discovery

NOTE: beware, patch amended by Tibor to use new file names
accounts: LostPassword form import addition

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

NOTE: beware, patch amended by Tibor to use new file names
base: initial port from pluginutils

NOTE: beware, patch amended by Tibor to use new file names
upgrader: initial port using autodiscovery

NOTE: beware, patch amended by Tibor to use new file names
search: templates javascript fix

NOTE: beware, patch amended by Tibor to use new file names
global: move to new code structure

Co-authored-by: Esteban J. G. Gabancho <esteban.gabancho@cern.ch>

NOTE: beware, patch amended by Tibor to use new file names
workflows: holding pen changes and additions

* Creates a standard structure for widgets rendering and
  resolving.

* 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

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

* Fixes several CSS and JS inclusions in templates.

* Makes URLs configurable where applicable.

* Fixes bad import statements in widgets.

* Creates a standard structure for widgets rendering and
  resolving.

* Adds breadcrumbs, timeago, alerts.

* Fixes sorting, pretty_date and css.

* Several improvements in HP templates

* 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.

* 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.

Co-authored-by: Konstantinos Kousidis <konstantinos.kousidis@cern.ch>
Co-authored-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>

NOTE: beware, patch amended by Tibor to use new file names
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>

NOTE: beware, patch amended by Tibor to use new file names
comments: order by creation date

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

NOTE: beware, patch amended by Tibor to use new file names
base: fix config autodiscovery order

NOTE: beware, patch amended by Tibor to use new file names
base: errorlib and logger consolidation

NOTE: beware, patch amended by Tibor to use new file names
global: move to new code structure

Co-authored-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Co-authored-by: Esteban J. G. Gabancho <esteban.gabancho@cern.ch>

NOTE: beware, patch amended by Tibor to use new file names
comments: stops toggle event propagation

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

NOTE: beware, patch amended by Tibor to use new file names
workflows: fix broken import

NOTE: beware, patch amended by Tibor to use new file names