Creates an instance of a propertybag from an Xml string