added some params to XML parser for security

Even though only root can actually edit the XML file we want to make
sure that in the future we will not be vulnerable to both XML entity
expansion and XML External Entity injection
Merge branch 'ISSUE=9761-2-xml-parsing-possible-security-bugs'
Merge pull request #81 from ajragusa/master

ISSUE=9761 updating XML parsing