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
if ( element.propValues.get( key ) != null )
					continue;
				PropertyDefn propDefn = getPropertyDefn( key );
				Object value = current.propValues.get( key );
				element.propValues.put( key, ModelUtil.copyValue( propDefn,
						value ) );
			}
			if ( !current.isVirtualElement( ) && current.userProperties != null )
			{
				if ( element.userProperties == null )
					element.userProperties = new LinkedHashMap( );
				iter = current.userProperties.keySet( ).iterator( );
				while ( iter.hasNext( ) )
				{
					Object key = iter.next( );
					if ( element.userProperties.get( key ) != null )
						continue;
					UserPropertyDefn uDefn = (UserPropertyDefn) current.userProperties
							.get( key );
					element.userProperties.put( key, uDefn.copy( ) );
				}
			}
			current = current.isVirtualElement( )
					? current.getVirtualParent( )
					: current.getExtendsElement( );
		}
		return element;
	}
	/**
	 * Returns the validation error list, each of which is the instance of