legacy: fix field xml output generation

* Addresses issue when unnecessary string conversion could cause
  problems with unicode data.  (closes #2233)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
base: fix for demosite populate extra info

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
formatter: fix mediaelement video view

* NOTE Detailed record page needs javascript in the <head> tag.
  (closes #1999)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
legacy: webhelp docs move

* Addresses issue with not discovered help pages.  (closes #2244)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
formatter: display records with no recid

* Fixes issue in 'Default_HTML_detailed' template when record does not
  have a 'recid'.  (PR #2272)

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
search: loading of Bloodhound using requirejs

* Adds the missing export of twitter's typeahead.js and properly
  loads it with requirejs at search typeahead.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
search: configuration of facets per collection

* Adds FacetCollection model with db upgrade.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
search: flask-admin module to configure facets

* Adds Flask-Admin module available at /admin/facetcollection/.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
search: facets relation definition move

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