Added removeFromParent to PDIXMPElement for use with makeObjectsPerformSelector: on arrays of elements (e.g. from a -findElements: call in PDIXMPArchive). Cleaned up the output XMP, avoiding redundant spacing/indenting and forcing many-attribute elements (such as rdf:Description) to put attributes on separate lines.