BibFormat: dublin core export now includes DOI
inveniogc: BibEdit related improvements.

* Adds trailing slash to CFG_TMPSHAREDDIR

* Finds command does not work with symlinks without this trailing
  slash
BibFormat: Displays the DOI in the EndNote
WebSearch: add record edit link in brief
dateutils: consolidate localtime_to_utc

* Moves two "equivalent" localtime to/from utc functions from
  BibFormat and oairepository into dateutils.

* These functions also now accepts dates before 1900.

* Adds new tests for these functions.

* For Python 2.4 compatibility - adds datetime.strptime.

Co-authored-by: Alessio Deiana <alessio.deiana@cern.ch>
BibCatalog: adds bibcatalog bin to ignored files
MiscUtils: adds bibtex bin to ignored files
MiscUtils: adds hepdataharvest bin to ignored files
inveniogc: delete refextract logs after 7 days (from 28)
dateutils: fix for strftime() function

* Fixes AttributeError exceptions when parameter 'dt'
  was not an instance of struct_time.
WebSearch: testing fixing subject lookup
BibUpload: regression tests cleanup

* In the BibUpload regression test suite, certain records are "webcolled",
  that is they are indexed on the fly and a quick webcoll is run to
  associate them to certain collections. This commit introduces proper
  cleanup in the tearDown phase to "un-webcoll" them.
urlutils: new function get_relative_url()

* Adds a new function get_relative_url() in urlutils that will
  return the relative part from a full URL.
inveniocfg: new derived config CFG_BASE_URL

* Introduces a new derived config variable called CFG_BASE_URL
  which is going to contain the relative URL from CFG_SITE_URL.

  For example:

  CFG_SITE_URL                         CFG_BASE_URL
  "http://inspirehep.net"              ""
  "http://someuni.gov/~myuser/www/"    "/~myuser/www/"

  This is useful when testing single nodes in a multi-host
  setup with load-balancing, taking advantage of the relative
  URL lookup of browsers.

  All formats and templates should use CFG_BASE_URL whenever
  an absolute URL is not required.

* Adds the <meta base ..> tag to the HTML header.
WebSearch: change CFG_SITE_URL to CFG_BASE_URL

* Now uses the CFG option CFG_BASE_URL instead of CFG_SITE_URL
  so that the functional property of CFG_SITE_URL as link builder
  and representation of the site name is separated.

* Also updates all BibFormat elements using CFG_SITE_URL in this
  way as well as WebStyle default template.

* Adds a new server variable "absoluterecurl" (previously "recurl")
  that links in "external" formats such as RSS, DC and NLM.

* Changes the <base /> tag in <head> to be added only when
  CFG_SITE_URL is not the root domain name.
BibUpload: encoding checks

* Check that all the arguments are accessible before submitting
  a task through the command line.
* Check encoding of the files on opening
dateutils: strptime for Python-2.4 compatibility

* Introduces a compatibility function called strptime which is
  equivalent to datetime.strptime so that it would work for
  both Python 2.4 and higher versions.

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSearch: SPIRES date format 11/93

* Handles "find date 11/93" in SPIRES query parser.
BibUpload: utf-8 encoding

* Fixes the check for the command line interface that verifies
  that the input xml file exists and is utf-8 encoded.
* Adds an additional checkin in bibupload() so that we can check
  for the encoding when using pretend=True.
BibReformat: chunking of updated records query

* Instead of a single sql query for updated records, we split it
  in multiple ones with a limit of 5000 records per query.

BibReformat: bug fix

* Prod and master differ in their format for bibrank_start_date
  This patches is to handle the difference between branches