Bug 130492 Provide a method to serialize the report with library information.
Currently, when engine generate the report document file, the document does not contain any library information. That will cause many propblem on server side. Model should provide a method to serialize the report with library information to a stream so that the generated report document can contain all information that the report need.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
{
		ReferenceableElement target;
		
		
		if ( oldRef != null )
		{
			target = oldRef.getTargetElement( );
			if ( target != null )
				target.dropClient( this );
		}
		
		
		
		if ( newRef != null )
		{
			target = newRef.getTargetElement( );
			if ( target != null )
				target.addClient( this, prop.getName( ) );
		}
	}
	/**
	 * Implements to cache a back-pointer from a referenced structure. This
	 * element has a structure reference property that can point to another
	 * "referencable" structure. To maintain semantic consistency, the
	 * referenced structure maintains a list of "clients" that identifies the
	 * elements that refer to it. The client list is used when the target
	 * structure changes names or is deleted. In these cases, the change
	 * automatically updates the clients as well.
	 * <p>
	 * References can be in two states: resovled and unresolved. An unresolved