base: global index run during demo site population

* Adds missing global indexing process that must be run
  during demo site population.  This is necessary after
  the merge of the virtual index facility from master.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
deposit: fix plupload config usage

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: fix jrec handling

* Fixes incorect handling of 'jrec' attribute together with pagination.
  (closes #1756)

Reported-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: fix advanced add to search form

* Adds missing class and fixes syntax error in generated javascript
  code.  (closes #1811)

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