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.