Add XMP extraction function

Added XMP metadata reader function. This reads adobe xmp segment from an image which is basically a xml.