OAIHarvest: move to workflows

* Changes OAI Harvest daemon logic to use the new workflows
  module, with many changes overall.

* Refactors DB-layer for oaiharvest part. Uses the new
  sqlalchemy models.

* Changes OaiHARVEST table schema to add workflow options and
  removes frequency parameter. BibSched is the master of
  task frequency.

* Allows new CLI parameters --workflow or -r/--repository,
  --workflow or just only -r/--repository.

* Adds support to harvest with all combinations. It means
  one repository or one workflow, one repository N workflows
  N repositories one workflow or N repositories N workflows.

* Optimized request in daemon to mimize the number of
  workflows to start to complete the work asked.

* Improves task_run with better error reporting.

* Cleans the code of several functions, simplifies the
  harvesting a bit. Changes the way the updating of
  the last_time update.

* Updates OaiHarvest model in oaiharvester.

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
oaiharvester: update model with defaults

* Adds better defaults for the oaiharvester model.

* Changes the argument column to MarshalBinary and
  removes getter get_arguments().

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: update calls to OaiHarvest model

* Updates the calls to get the arguments dict from the
  OaiHarvest model to adhere to recent API changes.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
global: grunt fixes for jquery-ui

* Installs jquery-ui instead of just jquery.

* Updates jquery-ui version to 1.10.4.

Signed-off-by: Kamil Neczaj <kneczaj@cern.ch>
Reviewed-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
Tested-by: Jiri Kuncar <jiri.kuncar@cern.ch>
utils: json import fix

* Imports the actual json module instead of
  looping import of utils/json.py.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
base: fix config UTF-8 problems

* Encodes legacy `invenio.config` to utf8 and fixes handling of
  translatable utf8 strings.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Co-authored-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>