return a cp:metadata element with the metadata in the document

def metadata(self):
        """return a cp:metadata element with the metadata in the document"""
        md = self.xml(src="docProps/core.xml")
        if md is None:
            md = XML(root=etree.Element("{%(cp)s}metadata" % self.NS))
        return md.root