Bug 119566 Support template items in page header/footer
Currently you can't create template report items inside a page header/footer. This should be fixed.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
*            the element definition
	 * 
	 * @return <code>true</code> if elements with the definition
	 *         <code>defn</code> can reside in the given slot. Otherwise
	 *         <code>false</code>.
	 */
	private boolean canContainInRom( int slotId, IElementDefn defn )
	{
		if ( slotId < 0 || slotId >= getDefn( ).getSlotCount( ) )
			return false;
		ISlotDefn slotDefn = getDefn( ).getSlot( slotId );
		assert slotDefn != null;
		if ( !slotDefn.canContain( defn ) )
			return false;
		if ( getSlot( slotId ).getCount( ) > 0
				&& !slotDefn.isMultipleCardinality( ) )
			return false;
		return true;
	}
	/**
	 * Checks whether the element to insert can reside in the given module.
	 * 
	 * @param module
	 *            the root module of the element to add
	 * @param slotID
	 *            the slot ID to insert
	 * @param element
	 *            the element to insert
	 * @return false if the module is a library and the element to insert is a
	 *         template element or its content is a template element; or the