Support retrieving unparsed entity URIs from document

Test included. This wraps libxml2.xmlGetDocEntity

github.com/jbowtie/ratago needs this available to implement unparsed-entity-uri