Replaced use of 'cgi.escape' with 'encode_for_xml' when creating XML output; standardised use of 'sre' library throughout - 're' is no longer used.
Replaced use of 'cgi.escape' with 'encode_for_xml' when creating XML output; standardised use of 'sre' library throughout - 're' is no longer used.

inveniosoftware/invenio,tiborsimko/invenio,tiborsimko/invenio,inveniosoftware/invenio