BibAuthorID: logger wsgi compatibilty

* Never print if initialized inside a mod_wsgi container.

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
Signed-off-by: Samuele Carli <samuele.carli@cern.ch>
installation: silence lisp compiler
Merge pull request #43 from Osso/silence-lisp-compiler

installation: silence lisp compiler
BibRank: disable losses checks
Merge pull request #44 from Osso/bibrank-disable-loss

BibRank: disable losses checks
BibAuthorID: boxes for one column view addition

* Adds boxes for Publication graph and Citations.
BibRank: incomplete option parsing
Merge pull request #49 from Osso/bibrank-bug

BibRank: incomplete option parsing
Merge pull request #47 from MSusik/prod

BibAuthorID: boxes for one column view addition
BibRank: cleanup of some files
BibAuthorID: Handling of timeouts when connecting to crossref.

Signed-off-by: Artem Tsikiridis<artem.tsikiridis@cern.ch>
Merge pull request #50 from Osso/bibrank-cleanup

BibRank: cleanup of some files
Merge pull request #51 from Osso/bibauthorid-1.79-ops-hotfixes

BibAuthorID: logger wsgi compatibilty
Merge pull request #52 from atsikiridis/prod

BibAuthorID: Handling of timeouts when connecting to crossref.
BibIndex: kwalitee fix

* Runs `autopep8` on bibindex files

* Fixes kwalitee issues

* Updates copyright year

Signed-off-by: Federico Poli <federico.poli@cern.ch>
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>
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>