DocExtract: fix reference extractor unit tests

* Reference extractor's unit tests were not following Invenio convention,
  so running `inveniocfg --run-unit-tests` were not catching them.  This
  commit fixes the problem.
dateutils: fix for unit test suite

* Use absolute imports so that `inveniocfg --run-unit-tests` would
  run this test suite.