BZ-1073659 - CVE-2012-0818 CVE-2011-5245 security: RESTEasy: XML eXternal Entity (XXE) flaw [bpms-6]

(cherry picked from commit 570000c335fd0f7a0aa0d7dd373734430dc38448)