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/ReferencableStructure.java
StructRefValue ref = (StructRefValue) getLocalProperty( module,
				LIB_REFERENCE_MEMBER );
		if ( ref != null && !ref.isResolved( ) )
		{
			errors.add( new SemanticError( element, new String[]{
					getDefn( ).getName( ), getReferencableProperty( ),
					libReference.getQualifiedReference( )},
					SemanticError.DESIGN_EXCEPTION_INVALID_LIBRARY_REFERENCE ) );
			return errors;
		}
		return errors;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#clone()
	 */
	protected Object clone( ) throws CloneNotSupportedException
	{
		ReferencableStructure struct = (ReferencableStructure) super.clone( );
		if ( libReference != null )
			struct.libReference = new StructRefValue( libReference
					.getLibraryNamespace( ), libReference.getName( ) );
		else
			struct.libReference = null;
		struct.clients = new ArrayList( );
		struct.clientStructures = new ArrayList( );
		return struct;
	}
	/**