PDI-10514: apply xml escaping in the commit method of the OrderedFileRegistry class.

PDI-10514 Added dependency on ESAPI to ivy.xml and rewrote XML escaping to use the ESAPI encoder (see: http://jira.pentaho.com/browse/PDI-10514?focusedCommentId=157663&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-157663)