jats_package: affiliations fix

* Adds an extra check before adding the
  affiliations to the author.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
edpsciences_package: new function get_date

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

edpsciences_package: new function get_date
jats_package: fix authors aff check

Co-authored-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
global: Bibrecord dependecy removed.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
edpsciences_package: attach fulltext fix

* Modifies _attach_fulltext function to use requests.

* Removes the need for a special EDPS config in harvesting-kit.

* Fixes a typo in pos_package.

Co-authored-by Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
jats_package: empty affiliation fix

* Handles the case of empty affiliations.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
jats_package: author note fix

* Handles more than one note per author.

* Updates tests and removes tests.py which is unnecessary.

Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
edpsciences_package: attach fulltext fix

* Modifies _attach_fulltext function to handle url timeout errors
  and retries to open the url 10 times.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
ftp_utils: new method

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

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