workflows: cache prefix for Holding Pen

* Adds an appropriate cache key prefix for the cached Holding Pen rows.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: AMD compatible and flightJS

* Refactors all Holding Pen JavaScript to be fully AMD/requirejs
  compatible.

* Rebuilds Holding Pen based on the flightJS framework to render
  the Holding Pen table and details pages, in addition to actions.
  This includes many changes to the static files and the interface
  itself - removing unused and non-working elements of it.

* Adds translation support to the predefined status tags for the tags
  interface in Holding Pen. This changes the bower requirements to use
  INSPIRE-HEP fork of bootstrap-tagsinput to support this functionality.

* NOTE To get the new version of bootstrap-tagsinput delete your
  existing bootstrap-tagsinput vendors and static files and folders and
  re-run `inveniomanage bower -i bower-base.json > bower.json` and
  `bower install` from the overlay.

* Refactors the bundles to accommodate these changes in addition to
  adding missing CSS used by DataTables.

* Improves the default approval action to fade out after an action
  was completed successfully.

* Adds dependency of datatables-tabletools plugin to provide selection
  by replacing the former in-house implementation.

* NOTE this update changes the global settings.js file which means
  that you need to update your version on the overlay in
  case you were required to override it with your own settings.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: deprecated admin area removal

* Removes the deprecated workflows admin area that was not fully
  functional and superseded by Holding Pen.

* Removes unused JavaScript files and templates.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
session: removal of unnecessary Set-Cookie

* Removes unnecessary writes to session for guest user.  (closes #2291)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
oauth2server: addition of translatable strings

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
oauth2server: confidential and public clients

* Adds option to new application form to ask user for client type.
  (addresses #2113)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
communities: featured community addition

* Adds featured community.

Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
workflows: runtime based start_async_workflow

* Reworks the start_async_workflow() task to allow for a runtime
  based evaluation of which workflow to launch instead of being
  determined on application load.

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

* Improves the default functions to format and display data on
  workflows inheriting from RecordWorkflow.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
oaiharvester: sample approval based workflow

* Adds a sample approval based workflow for OAI harvesting with
  the intent of showcasing the Holding Pen approval action and
  the new way of creating OAI harvest workflows.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
session: hotfix for schema and locale check

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
oaiharvester: refextract task fix

* Checks properly if the PDF is downloaded successfully inside the
  refextract task.

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
template: fix for unicode url handling

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
formatter: addition of format.mime_type column

* Adds upgrade for the `Format` table by adding `mime_type`.

Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
previewer: d3js csv previewer

* Adds d3js csv previewer.

Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
oauthclient: save orcid in extra data

* Saves the orcid of the user in the extra data column of
  remoteACCOUNT.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
oauthclient: missing attribute addition

* Adds missing attribute to `OAuthRejectedRequestError` constructor.
  (closes #2483)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
sqlalchemy: fix mysql primary key creation

* Fixes checking of Text type supporting the case of NullType
  column type.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
previewer: pdfjs plugin addition

* Adds pdfjs previewer.

Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>