XML escape/unescape improvements

 - escape feature improved to use 'standard' 5 XML special characters
 - unescape feature added