BibAuhorID: prevent running non test funcs
testutils: switch to unittest2
BibIndex: reliable tests cleanup
WebSearch: date operators `<=` and `>=`

* Replaces the SPIRES operators `<=` and `>=` with
  the Invenio operators before the equal signs removal
  and before replacing the date before/after operators

* Adds unit tests to the query parser

Signed-off-by: Federico Poli <federico.poli@cern.ch>
OPS: BibAuthorID: skip failing tests
BibIndex: tweaks to virtual index tests
BibIndex: duplicate year in virtual index tests
installation: removes extra dependency
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: refactoring and author parent tokenizer

* Refactoring of BibIndex:
  implements https://github.com/inveniosoftware/invenio/issues/1710

* Adds a generic parent tokenizer, useful for the dataset records:
  implements https://github.com/inveniosoftware/invenio/issues/1885

* Adds 4 demo records for testing purpose

* Adds (and fixes) tests

More details:

* Refactoring of `task_run_core` in `bibindex_engine.py`: easier to
  follow, moves the decision of which records need to be reindexed 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`

* 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 function upgrade_atlantis)

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

* Adds file `bibindex_engine_tokenizer_regression_tests.py`

* Adds tests for tokenizers, for bibindex CLI, for bibindex utils

* Closes https://github.com/inveniosoftware/invenio/issues/1662
  (BibIndex: --reindex should not zero last_updated)

* 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`)

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