Creates a new descriptor, attaches it to object and returns it.
object
A DIDLLiteWriter
A new DIDLLiteDescriptor object. Unref after usage.