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
* Determines whether this element and its contents are managed by
	 * namespace. If this element is a pending node and not in any module, or it
	 * is contained in a slot that is not managed by namespace, then return
	 * false. Otherwise true.
	 * 
	 * @param slotID
	 *            the slot ID in this element
	 * @return true if this element and its contents are managed by namespace,
	 *         otherwise false
	 */
	public boolean isManagedByNameSpace( int slotID )
	{
		
		if ( getRoot( ) == null )
			return false;
		
		DesignElement containerObj = this;
		int slot = slotID;
		while ( containerObj != null )
		{
			ElementDefn defn = (ElementDefn) containerObj.getDefn( );
			SlotDefn slotInfo = (SlotDefn) defn.getSlot( slot );
			if ( slotInfo != null && !slotInfo.isManagedByNameSpace( ) )
				return false;
			slot = containerObj.getContainerSlot( );
			containerObj = containerObj.getContainer( );
		}
		return true;
	}
	/**