PdfChecker: no arxiv queries on regression tests

* Mocks the query to arxiv that happened during regression tests.
WebSearch: limit on 'refersto' and simular keywords

* Limit DOS attacks with 'refersto' and similar keywords (e.g.
  'refersto:year:0-->9999').
* Adds configuration variable CFG_WEBSEARCH_MAX_RECORDS_REFERSTO and
  CFG_WEBSEARCH_MAX_RECORDS_CITEDBY.
* Limits result used by 'refersto', 'referstoexcludingselfcites' to
  CFG_WEBSEARCH_MAX_RECORDS_REFERSTO.
* Limits result used by 'citedby', 'citedbyexcludingselfcites' to
  CFG_WEBSEARCH_MAX_RECORDS_CITEDBY.
* Adds classes 'InvenioWebSearchReferstoLimitError' and
  'InvenioWebSearchCitedbyLimitError'.
* Adds warning messages when the limit CFG_WEBSEARCH_MAX_RECORDS_* is reached.
* In BibRank adds 'input_limits' parameter to 'get_refersto_by_list',
  'get_refersto_hitset', 'get_cited_by_list', 'get_citedby_hitset' (default
  to None).
* Adds regression test for the query 'refersto:year:2000'.

Signed-off-by: Federico Poli <federico.poli@cern.ch>

Conflicts:
	modules/websearch/lib/search_engine.py
	modules/websearch/lib/websearch_regression_tests.py
installation: jquery tree view url
BibRank: superseeded records

* Ignores references from superseeded records.
  Superseeded records have the tag 78502 defined.
BibDocFile: ignore purely numerical extensions
BibRank: superseeded records catchup

* Fixes detection of superseeded records when doing the citations
  catchup in the citation indexing phase.
BibIndex: full reindexing fix

* Fixes the --apply-reindex-tables CLI parameter

Signed-off-by: Federico Poli <federico.poli@cern.ch>
miscutil: simplification of wash_for_utf8

* Uses '.decode("utf-8", errors)' instead of a while loop.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Federico Poli <federico.poli@cern.ch>
WebSearch: renames HepData tab

* Renames the label 'HepData' to 'Data' in the details page.
* Renames the url 'record/123/hepdata' to 'record/123/data'

Signed-off-by: Federico Poli <federico.poli@cern.ch>
bibindex: adds tokenizers for parent records

* Adds BibIndexExactAuthorParentTokenizer, internally it calls
  BibIndexExactAuthorTokenizer.

* Adds BibIndexAuthorParentTokenizer, internally it calls
  BibIndexAuthorTokenizer

* Hardcodes in bibindex_engine that the tokenizers of the fields 'exactauthor'
  and 'author' want a record id insthead of a tag value.

* Sets BibIndexExactAuthorParentTokenizer as tokenizer for the
  'exactauthor' index (tabfill.sql and upgrade script)

* Sets BibIndexAuthorParentTokenizer as tokenizer for the
  'author' index (tabfill.sql and upgrade script)

* Adds tests

* Fixes parameter '--apply-reindex-tables' for command 'inveniocfg'

* Adds demo records with 'parent tag'

* Fixes regression tests