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
* Checks whether the root of the current element is included by
	 * report/library.
	 * 
	 * @return <code>true</code> if the root of the current element is
	 *         included by report/library. Otherwise <code>false</code>.
	 */
	private boolean isRootIncludedByModule( )
	{
		DesignElement tmpContainer = getRoot( );
		if ( tmpContainer instanceof Library
				&& ( (Library) tmpContainer ).getHost( ) != null )
		{
			return true;
		}
		return false;
	}
	/**
	 * Determines if the current element can contain an element with the
	 * definition of <code>elementType</code> on context containment.
	 * 
	 * @param module
	 *            the module
	 * @param slotId
	 *            the slot id
	 * @param defn
	 *            the definition of the element
	 * @return <code>true</code> if the slot can contain the an element,
	 *         otherwise <code>false</code>.
	 */
	public final boolean canContain( Module module, int slotId,