WebSearch: CERN-specific collection sorting

* Sorts 'CERN Courier Issues/Articles' and 'CERN Bulletin
  Issues/Articles' collections by 773__y field in WebColl.
  (closes #2017)

Signed-off-by: Sebastian Witowski <sebastian.witowski@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Websearch: include 'cc' in RSS <channel>'s <link>

* If the 'cc' collection is defined when producing the RSS feed then
  it's included in the <link> tag under the <channel> tag.
  (closes #2013) (closes #2014)

Signed-off-by: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibIndex: new `datasource` field and `786__w` tag

* Adds field `datasource`, associated with the new tag `786__w`

* Adds upgrade script

* Adds bibfield definition of `datasource` in `atlantis.cfg`

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

* Runs `autopep8` on bibindex files

* Fixes kwalitee issues

* Updates copyright year

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

Conflicts:
	modules/bibindex/lib/bibindex_engine.py
	modules/bibindex/lib/bibindex_regression_tests.py
	modules/bibindex/lib/tokenizers/BibIndexCountryTokenizer.py
	modules/bibindex/lib/tokenizers/BibIndexJournalTokenizer.py
BibIndex: refactoring

* Refactoring of BibIndex, implements inveniosoftware#1710:
  `task_run_core` in `bibindex_engine.py` is now easier to
  follow, and the decision of which records need to be reindexed to
  the tokenizers has been moved to the tokenizers

* Fixes bug: the command `bibindex -w [index name] -m [date range]`
  previously was updating the `last_updated` field of the index

* Moves many of the index specific special cases from
  `bibindex_engine.py` to the tokenizers
  (e.g. `if index_name == "author": # add special tokens`)

* Moves some utility functions from `bibindex_engine.py` to
  `bibindex_engine_utils.py`

* Solves inveniosoftware#1662
  (BibIndex: --reindex should not zero last_updated)

* Adds tests for bibindex CLI, for bibindex utils

Signed-off-by: Federico Poli <federico.poli@cern.ch>
Miscutil: new demo records

* Adds 4 demo records

* Fix tests

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

Conflicts:
	modules/websearch/lib/websearch_regression_tests.py
BibIndex: author parent tokenizer

* Adds a generic parent tokenizer, useful for the dataset records:
  implements inveniosoftware#1885

* Adds tokenizers `BibIndexAbstractParentTokenizer`,
  `BibIndexCanonicalAuthorTokenizer`,
  `BibIndexExactParentAuthorTokenizer`,
  `BibIndexParentAuthorTokenizer`,
  `BibIndexParentCanonicalAuthorTokenizer`

* Adds indexes `simpleauthor`, `canonicalauthor`, `parentauthor`,
  `parentcanonicalauthor`, `exactsimpleauthor`, `exactparentauthor`

* Adds fields `simpleauthor`, `exactsimpleauthor`

* Adds upgrade script for the database changes
  (uses upgrade_atlantis)

* Transforms `author` and `exactauthor` indexes from regular to
  virtual index

* Adds file `bibindex_engine_tokenizer_regression_tests.py`

* Edits the commands run by `--load-demo-records` in order to
  reindex the bibauthorid-dependant indexes after the `bibauthorid`
  task (for example `canonicalauthor` and `parentcanonicalauthor`)

* Adds tests for tokenizers

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