BibCheck: avoid checking dummy records

* Skip records that only contain a 001 tag
BibAuthorID: hotfix in name comparison
BibCheck: improve doi plugin

* Updates the marc fields sent to crossref to obtain dois.
* Sends queries to crossref in smaller batches.
installation: add h5py dependency
BibDocFile: preferred extension

* When guessing the extension of a file though the
  usage of the magic library and the mimetypes module,
  allow to specify the preferred extension for a
  given guessed mimetype in order to avoid picking up
  a random one from the multiple extensions proposed
  by the mimetype library.
  (closes #1619)

* Introduces CFG_BIBDOCFILE_PREFERRED_MIMETYPES_MAPPING
  new configuration parameter in order to tune the
  above mentioned functionality.

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reported-by: Tibor Simko <tibor.simko@cern.ch>
WebAuthorList: fix import from recid

* If an author does not have an id, display the default one on the spreadsheet.
BibCheck: add retry download to crossrefutils

* Retries the query to crossref if there is an error.
BibCheck: improve exception handling crossref queries
BibAuthorID: add_cname_to_hepname_record()

* Introduces a new API add_cname_to_hepname_record()
  to automatically schedule a BibUpload bibtask to
  append a new person ID to a given record.

* Moves retry_mkstemp() from bibdocfile to shellutils
  so that other modules can use it.

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
BibAuthorID: hepnames match

* Uses newly introduced add_cname_to_hepname_record()
  API for catalogers to confirm a profile matches
  a given record.

Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
installation: update to MathJax-2.3
WebSearch: fix sorting options

  * Adds the condition 'len(sort_field) > 1' to the condition
    'str(sort_field[0:2]).isdigit()' when the sort field
    argument seems to be a MARC tag. (closes #801)
WebSearch: search API changes for record sorting

* Changes the behavior perform_request_search() API function in case of=id
  perform_request_search always defaults to sorting in ascending order.
* Changes the search webinterface. All results are ranked by descending order
  by default. In particular, this changes the behavior of of=id from the
  webinterface and results for of=id and now ranked in descending order
  instead of ascending order by default (closes #1657)
* Changes the API of bibrank. Now results ranked in ascending order are really
  in ascending order.
WebSearch: changes citation tab count
inveniocfg: do not capture warning in unit tests

* inveniocfg_upgrader does as a special treatment
  in order to capture warnings and store them in log
  files. However this behavior confuses certain
  external modules, such as the xunit plugin in
  nosetest. Therefore capturing warning is disabled
  during unit tests execution.
dateutils: adds __add__ to our custom datetime

* Allows to use += or + with our custom datetime object without loosing it.
WebAlert: update tests for newly introduced records
WebAccess: fixes user details page links
BibRank: handle missing files when removing graphs

* Handle the file does not exist exceptions when try get the st_mtime
  of a graph file.
RefExtract: only accpet digits as numeration

* Forces digits to be [0-9] instead of all the valid unicode numeration.
  This prevents the value error when trying to convert nummeration to int.