BibDocFile: logging fix

* Changes error logging to use the Flask application logger.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
access: site specific configuration of demo roles

* Adds simple hack for overwriting demo roles and authorization using
  the site configuration instead of hard coded values.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
communities: bibupload notimechange option removal

* Removes use of --notimechange option when using bibupload as it will
  result in conflicts with revision verifier for later uploads.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
records: refactoring fix

* Fixes refactoring problem introduced when renaming '_files' to
  '_documents' in e24b55e8f1c497112d016888c825cbe276cf303c.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: cleancss and requirejs filters

* Adds use of cleancss filter for search styles.

* Adds use of requirejs filter for search JavaScript.

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

* Fixes refactoring bug introduced in
  5a92017094668dce58826bb27d20e3bf6101edd4.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: iter_suites overlay usage

* Allow iter_suites to be more easily used from overlays.

* NOTE Adds deprecation warning to `import_module_from_packages` and
  `import_submodules_from_packages`.

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