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 ( getContainer( ) != null )
			return getContainer( ).canContain( module, getContainerSlot( ),
					templateReportItem )
					|| getContainer( ).canContain( module, getContainerSlot( ),
							templateDataSet );
		return true;
	}
	/**
	 * Checks whether this element is based on a template parameter definition
	 * or not.
	 * 
	 * @param module
	 *            the root module
	 * @return true if this element is based on a template parameter definition,
	 *         otherwise false
	 */
	public boolean isTemplateParameterValue( Module module )
	{
		return getTemplateParameterElement( module ) != null;
	}
	/**
	 * Resolves a list of element reference.
	 * 
	 * @param module
	 *            the module information needed for the check, and records any
	 *            errors
	 * @param prop
	 *            the property whose type is element reference
	 * @return the list of element reference value and each reference value is
	 *         tried to resolve