aps_package: various fixes

* 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>