search: collection template loading

* Supports collection specific templates by id "collection_{id}.html"
  with fallback to the "collection_{name}.html" and "collection.html".

Signed-off-by: Charalampos Tzovanakis <drjova@cern.ch>
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>
assets: less flavor of bootstrap

* Installing less and grunt-contrib-less.

* Adding the filters parameter on the assets.
  `{% css "foo.css", "00-bundle", "less" %}`

* Adding some configuration keys.
  LESS_BIN which must be pointing to lessc.
  CLEANCSS_BIN ditto for CleanCSS
  LESS_RUN_IN_DEBUG (default True) to enable or disable the less
  bundling in DEBUG. ASSETS_DEBUG must be also set to True for
  it to work.

* Renamed base.css to base.less and it includes the less files from
  Bootstrap and Font-Awesome.

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