Move function xmlsafe from Export.php to OAI extension

Change-Id: I4bac5cf0a3dcd6b74d08408c3cdb881a9eea6800
Merge "Move function xmlsafe from Export.php to OAI extension"