Set back libxml_disable_entity_loader state after use

Forward port of 22e7ca04bc4c132969b1cef135bc25140b37b162 from stable6 to master
Merge pull request #81 from owncloud/libxmlentitystateresetafteruse

Set back libxml_disable_entity_loader state after use