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/util/ModelUtil.java
/**
	 * Determines whether there is a child in the given element, which is kind
	 * of the given element definition.
	 * 
	 * @param element
	 *            the element to find
	 * @param elementName
	 *            the element definition type
	 * @return true if there is a child in the element whose type is the given
	 *         definition, otherwise false
	 */
	public static boolean containElement( DesignElement element,
			String elementName )
	{
		IElementDefn defn = MetaDataDictionary.getInstance( ).getElement(
				elementName );
		return containElement( element, defn );
	}
	/**
	 * Sets default time zone. Wrote this method becuase of bugs in ICUs.
	 */
	public static void setDefaultTimeZone( )
	{
		java.util.TimeZone defaultTimeZone = java.util.TimeZone.getDefault( );
		SimpleTimeZone pdt = new SimpleTimeZone(
				defaultTimeZone.getRawOffset( ), defaultTimeZone.getID( ) );
		SimpleTimeZone.setDefault( pdt );
	}
}