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>
WebSearch: fix for citesummary link template

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibAuthorid: fix for templates

* Removes unnecessary brackets.

Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
deposit: adaptation to new typeahead

* Adapts depositions to typeahead 0.10.0.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
comments: login required for vote and report

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Acked-by: Jiri Kuncar <jiri.kuncar@cern.ch>
registry: imports from `flask.ext.registry`

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
workflows: add OAIHarvest integration

* Refactors log messages in generic harvesting workflow tasks.

* Adds a new task to convert records with information directly from
  OAI repository models.

* Generic workflow now takes parameter of the given repository.

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

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: refactor holding pen widgets

* Adds mini approval widget.

* Removes every hardcoded url in .js files.

* Adds small helper function in maintable.js

* Adds buttons for multiple record approval.

* Small bug-fix to the reject-multi button.

* Various fixes in datapreview.js functions.

* Adds new row_formatter to format datatables rows.

* Adds checkbox functionality.

* Fixes breadcrumbs in Holding Pen pages.

* Upgrades templates to bootstrap 3.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: layout changes in Holding Pen

* Adds a navbar above Holding Pen table and updates layouts
  across the details page and approval widget page.

* Adds a new tag based UI element for filtering objects in the
  Holding Pen.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: new API in engine and model

* Updates the BibWorkflowObject with new API functions to add
  widgets to trigger an holding pen action.

* Adds a function to BibWorkflowObject to add task results
  using a newly created class WorkflowTaskResult.

* Changes the data preview in Holding Pen back to using
  the previously added get_formatted_data function.

* Widgets and tasks now use these new functions.

* Enriches sample workflow to showcase more tasks.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: HP polling mechanism

* Adds a polling mechanism to update the main table every 5
  seconds with new data. A temporary solution.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: new workflow tasks

* Adds new filtering task for record categories, allowing to
  specify which categories to trigger an action in holding pen.

* Adds task results to objects in various tasks.

* Updates the sample harvesting workflow to use new bibclassify
  API.

* Several other updates and improvements to workflow tasks.

* Updates the category filtering task to allow regular expression
  syntax when defining which categories to halt, continue or stop
  the workflow.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: Holding Pen update

* Adds concept of data types to Holding Pen display, so users
  can filter on submissions, records etc. using the attribute
  "object_type" in workflow definitions.

* Removes some uninteresting/unused columns in the Holding Pen
  main table and adds a new columns called categories containing
  any record subjects found, if applicable.

* Cleans some blueprint URLs.

* Cleans some blueprint code and routes for resolving widgets.

* Amends the approval widget and record details templates/JS to
  make use of these changes.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: refactor tag system

* Refactors the tag system used in the main Holding Pen display.

* Changes approval widget design and layout.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: exception handling with bibsched

* Updates the exception handling to better handle exceptions in
  workflows when running a workflow in a BibSched task.

* Improvements to category filter.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: update Holding Pen

* Updates Holding Pen main table display with better column sizes.

* Improves detailed display of workflow definition.

* Refactors imports in marcxml_tasks.

* Fixes an exception dealing with single or multiple categories
  when extracting subjects from record object.

* Updates in harvesting workflow tasks.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: JS and template update

* Adds a new template for detailed layout.

* Update Holding Pen templates overall.

* Fixes a problem with hotkeys in the main table display.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: add bootstrap-tagsinput package

* Adds a new JavaScript package for use in the holding pen
  display.

* Adds the new package to bower/Grunt file.

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