added additional xsl helper functions

- phpescape
- formatdate