workflows: initial user UI integration

* Kickstarts the user UI integration of Holding Pen by adding
  a new menu item "Your Pending Actions" to the user UI and new
  settings pages.

* Refactors the initial index page of Holding Pen to more nicely show
  pending actions and button to take users to the Holding Pen.

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

* Improves the procedure of getting workflow definition objects
  to be compatible with older workflows that may not exist
  anymore and at the same time be more forgiving.

* Fixes some documentation typos.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: widget to action name change

* NOTE Changes the naming of Holding Pen "widgets" to "actions" to
  more clearly distinguish these UI elements from widgets elsewhere
  in Invenio. The name "action" better suits these types of components
  which is representing an action that needs to be taken by operators.

* Renames several files to make use of this new naming strategy.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: user session in Holding Pen

* Fixes the way the Holding Pen is storing info about the
  current session by actually using the user session and not
  editing the current_app.config.

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

* Improves docstrings in holdingpen.py and some other places to
  conform with PEP257.

* Adds a deprecation warning for new action to widget naming.

Reported-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: INSPIRE specific removal

* Removes INSPIRE specific tasks and parameters from the
  default workflows. This will rather be part of INSPIRE
  overlay.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
workflows: fix harvesting workflow with bibsched

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
sso: fix group/groups key inconsistency

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
access: fix edge cases of user info usage

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

* Replaces undefined bfe_primary_report_number
  function with record.get()

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
formatter: bfe_primary_report_number replaced

* Replaces undefined bfe_primary_report_number
  function with record.get()

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
access: jinja base templates renaming

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
annotations:  jinja base templates renaming

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
comments: jinja base templates renaming

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
communities: jinja base templates renaming

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
deposit: jinja base templates renaming

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
documentation: jinja base templates renaming

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
groups: jinja base templates renaming

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
global: kwalitee fixes in invenio.testsuite

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
base: eval is evil

* Using ast.literal_value instead of eval to parse user provided values.
  Safer and more reliable (bool("False") -> True)

* Removing the checks that the new type corresponds with the known type
  for the value.

* Adding some tests to invenio.base.

* Adding invenio.base to the list of packages to collect test suites
  from.

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