elsevier_package: Reworks adding of affiliations

* Adding of affiliations now works in 3 stages
    * Referenced affiliations are added
    * Affiliations in the same author_group are added if there
      were no referenced affiliations
    * Affiliations of higher hierarchies are added

* Check "Tag by Tag The Elsevier DTD 5 Family of XML DTDs" for
  more information.

Signed-off-by: Martin Vesper <martin.vesper@cern.ch>
scripts: extends fix_marc_record script

* Adds an option to fix a record with a specific record
  if from a given Invenio site.

* Improves the author names fixes.

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

scripts: extends fix_marc_record script
global: removes refextract and get_kbs dependencies

* Adds parameter refextract_callback to get_record functions.

* Adapts sample_consyn_output.xml file (The new tests do not
  use refextract).

* Adds function fix_dashes and tests for it.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>
elsevier_package: fix reference extraction

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

elsevier_package: fix reference extraction
NLM & JATS: fix for extracting authors in colaborations

* Fixes extracting authors when "contrib" tag is used to indicate a
  collaboration. To avoid having fake author with all affiliations we
  skip "contrib" tag with "contrib" subtags.
Merge pull request #87 from Dziolas/nlm_autor_fix

NLM & JATS: fix for extracting authors in collaborations
Merge pull request #83 from mvesper/missing_affiliations

elsevier_package: Reworks adding of affiliations
installation: setup Travis CI

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Elsevier: Fixes unsupported dictionary comprehensions in Python 2.6
Merge pull request #90 from Dziolas/fix-elsevier

Elsevier: Fixes unsupported dictionary comprehensions in Python 2.6
installation: install without Invenio as requirement

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
installation: update Travis CI script

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
harvestingkit: initial non-Invenio dependancy

* Tries to remove all hard dependencies to Invenio in harvestingkit.

* NOTE Invenio is still recommended to use alongside harvestingkit,
  but it is not strictly required.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
merge me
elsevier_package: fix exception if no sa_affiliation

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
utils: use lxml instead of minidom

* Improves the XML parsing to use the more standard lxml library
  instead of minidom.

* Updates select tests to reflect the new changes and adds new ones.

* Fixes an issue where missing knowledgebase during journal name
  lookup would generate an exception.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
installation: update requirements with version

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
global: force UTF-8 encoding

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