ftp_utils: new method

* Adds a new method to get the datestamp
  of a file.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Merge pull request #61 from GiorgosPa/ftp-date

Ftp date
jats_package: author notes harvesting fix

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
edpsciences_package: conversion improvements

* Keeps the abstract formated in chapters.

* Seperates the author keywords in different fields.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
global: subscripts superscripts support

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
tests: add tests for minidom utils

* Strips XML output for newlines.

* Adds tests for minidom utils and amends tests where necessary
  to make the tests pass again after recent changes.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
utils: remove xml namespaces

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
utils: remove namespaces better

Co-authored-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
config: remove unnecessary warning

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
utils: collapse_initials fix

* Fix to handle more than one spaces between initials.

Signed-of-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
utils: XML handling improvement

* Fixes a problem with embedded XML inside text nodes.

* Creates a new file for tests for utils.py.

* Moves test_record_add_field to utils_tests.py.

Co-authored-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
global: more tests added

* Adds tests for final XML outputs for Elsevier, EDPS and APS.

* Adds test flag to get_record function in elsevier_package
  to not add the FFT tag because the file location
  is environment dependent and cannot be used for testing.

* Adds new escaping of ampersands in XML, along with tests.

* Removes references using refextract from tests.

Co-authored-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
utils: refactor XML escaping

* Refactors the XML escaping to also take in to account < as &lt;.

Co-authored-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>