base: jquery-form loaded via require.js

* Changes the filters on the jquery bundle to be require.js so it can
  properly load library such as jquery-form.

* Renames legacy.js to init.js to match the naming choosen for search
  and deposit scripts.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
installation: Flask-Admin>1.0.8,<1.1

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
template: @template_args decorator addition

* Adds new decorator to allow overwritting template context functions by
  endpoint.  (closes #2009)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
general: defaultdict fix

* Replaces defaultdict with collections.defaultdict.  (addresses #2030)

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
messages: require.js messages

* Refactors the messages/add template to use require.js.

* Loads jQuery UI modules individually.

* Fixes the jquery timepicker add-on shim.

* Moves bootstrap.js back into jquery bundle.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
base: bundles documentation

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
accounts: require.js refactoring

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
search: require.js refactoring

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
search: affix width fix

* Fixes issue with affix loosing its width once removed from the DOM.
  This caused long facet names to extend into the search results.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: Invenio 1.9999.3.dev

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
mixer: new extension that uses Mixer library

* If the extension is enable it connects to database create and
  recreated commands so it can loads all the json files into the
  database.

* NOTE if this extension is enable fixtures should not be
  used as probably there will be some database inconsistencies.

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
fixtures: port to extension and signals usage

* NOTE `inveniomanage demosite create` is obsolete. All actions are
  executed during `{post,pre}_command` signal handlers.

Co-authored-by: Esteban J. G. Gabancho <esteban.gabancho@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
access: removal of site specific configuration

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>