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
DesignElement element = this;
		if ( element instanceof TemplateParameterDefinition )
		{
			List clients = ( (TemplateParameterDefinition) element )
					.getClientList( );
			if ( clients.size( ) != 0 )
				return false;
		}
		return true;
	}
	/**
	 * Determines if the slot can contain a given element.
	 * 
	 * @param module
	 *            the module
	 * @param slotId
	 *            the slot id
	 * @param element
	 *            the element to insert
	 * @return <code>true</code> if the current element can contain the
	 *         <code>element</code>, otherwise <code>false</code>.
	 */
	public final boolean canContain( Module module, int slotId,
			DesignElement element )
	{
		boolean retValue = canContainInRom( slotId, element.getDefn( ) );
		if ( !retValue )
			return false;