tests: new demo record with CSV data files

* Adds new demo record with several CSV data files and ZIP files.
  (closes #1927) (PR #2208)

* Fixes `test_legacy_record.py` accordingly.

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Signed-off-by: Antonios Manaras <antonios.manaras@cern.ch>
installation: fix for typos in install doc

Signed-off-by: Gilles Louppe <g.louppe@gmail.com>
deposit: plupload filter option addition

* Adds filters to plupload settings in order, for example, to limit
  the mime types allowed.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: plupload error div selector addition

* Adds .upload-errors class to plupload.js to show errors related to
  the uploader.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
search: typeahead js code style improvements

* Affects search/typeahead.js and search/search_parser.js

* Fixes warnings produced by jshint.

* Breakes too long lines.

* Removes unused variables.

* Updates comments.

Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
search: requirejs for search typeahead

* Modifies search/search_parser.js, and search/typeahead.js to be
  compatible with requirejs.

Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: usage of requirejs for typeahead

* Makes form.js using twitter typeahead through a requirejs
  dependency.

Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
base: removal of typeahead.js from bundles

* Removes twitter's typeahead.js from bundles as it is only used with
  requirejs now.

Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
search: fix of undefined query_range in typeahead

* Initializes query_range in the constructor.

Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
search: fix for improper suggestions merging

* Synchronizes internal twitter's typeahead query variable on query
  change.

* Deletes reseting query value to the complete input field value in
  special cases.

Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
search: fix for stucked focus on the search field

* Prevents setting the caret position by typeahead on blur event.
  Changing the caret position in this situation is not needed, and
  causes the field to focus back.

Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
base: new `demosite populate` force-recids option

* Adds new extra option `-e force-recids` to the `demosite populate`
  command.  Useful to load files with wanted pre-set record IDs.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
docs: fix links in overlay.rst

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