aps_package: fix reference extraction

* Handles unstructured text in references.

* Adds external links in references.

* Kwalitee fixes.

* Adds a special case to handle references
  from journal 'J.High Energy Phys.'.

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