Resolve entities

Added utility method `get_etree_root()` which is used to parse input XML documents in a consistent way. The XML parser also uses `resolve_entities=False` to help reduce the possibility of introducing XXE processing issues.