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
* @param value
	 *            The value to set. Must be valid for the property.
	 */
	public void setProperty( ElementPropertyDefn prop, Object value )
	{
		assert prop != null;
		String propName = prop.getName( );
		
		
		if ( prop.isIntrinsic( ) )
		{
			setIntrinsicProperty( propName, value );
			return;
		}
		
		if ( prop.getTypeCode( ) == PropertyType.ELEMENT_REF_TYPE )
		{
			ElementRefValue oldRef = (ElementRefValue) propValues
					.get( propName );
			updateReference( oldRef, (ElementRefValue) value, prop );
		}
		
		if ( prop.getTypeCode( ) == PropertyType.STRUCT_REF_TYPE )
		{
			StructRefValue oldRef = (StructRefValue) propValues.get( propName );
			updateReference( oldRef, (StructRefValue) value, prop );
		}
		
		if ( value == null )
			propValues.remove( propName );