jinja2utils: new filters addition

* Adds filters `prefix`, `suffix` and `wrap` for decorating strings.

* Adds filter `sentences` that prints fisrt `n` sentences.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSearch: blueprints refactoring and cleanup

* Improves search results rendering using BibFormat `print_records`.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSearch: browse functionality initial port

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibFormat: initial port of HB format templates

* Improves style of HTML brief templates using Jinja2 and Twitter
  Bootstrap.  (addresses #911)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSearch: collection view improvement

* Uses jinja template for printing brief links.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibFormat: second version of HB templates

* Improves style of HTML brief templates using Jinja2 and Twitter
  Bootstrap.  (addresses #911)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibFormat: removal of bfe_* function calls

* Displays icon before report number.  (addresses #911)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebComment: code style improvements

* Connects signal record after update with BibField.

* Improves blueprint and fixes regression tests.

* FIXME access to comments in restricted collection

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
inveniocfg: fix for `--reset-recjson-cache`

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
WebStyle: fix remote debugger import

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'master' into next

* master:
  BibDocFile: improve BibDoc display in Files tab
  BibEncode: minor fix in process_batch_job()
  BibDocFile: raise exception in _build_file_list()
Merge branch 'master' into next

* master:
  BibFormat: author links for mobile app
  WebSearch: display number of hits in mobile output
  BibFormat: initial release of mobile app formats
  OAIHarvest: fix path for temporary authorlists

* Merge note: amended modules/websearch/lib/websearch_fixtures.py
  with the new formats.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'master' into next

* master:
  BibIndex: synonym indexing speed up
  BibKnowledge: optional memoisation of KBR lookups
  memoiseutils: initial release
  BibDocFile: fix for bibdoc unattached to record
  OAIRepository: no bibupload -n
Merge branch 'master' into next

* master:
  WebBasket: new 'move item' functionality
Merge branch 'master' into next

* master:
  WebBasket: 'move item' improvements
  BibRecord: record_get_field_values with filtering
  BibRecord: filter field instances

Conflicts:
	modules/bibrecord/lib/bibrecord_unit_tests.py

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
git: ignore `.noseids` and `compile`

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebComment: improved guest commenting/reviewing

* Adds authentication decorator to `add_comment` and `add_review`
  functions.  (closes #1539)

Signed-off-by: Jake Cowton <jake.calum.cowton@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Merge branch 'master' into next

* master:
  importutils: fix None values error
  installation: support for Apache-2.4
  WebSearch: CERN-specific hack update

* Merge note: discarding Apache-2.4 related changes
  done by second master's commit above while waiting
  for a patch coming from ticket:1522.

Conflicts:
	modules/miscutil/lib/inveniocfg.py

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
WebStyle: legacy request form multivalue fix

* Addresses general problem with reading multiple POST arguments of same
  name as list.

Reported-by: Raquel Jimenez Encinar <raquel.jimenez.encinar@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebStyle: CFG_WEBSITE_TEMPLATE_SKIN support

* Supports for including cascade style sheet called
  `CFG_WEBSITE_TEMPLATE_SKIN` in `page.html`.

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