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
if ( isRootIncludedByModule( ) )
			return false;
		
		
		if ( isVirtualElement( ) || getExtendsElement( ) != null )
			return false;
		
		DesignElement tmpContainer = this;
		while ( tmpContainer != null )
		{
			if ( tmpContainer instanceof ListingElement
					|| tmpContainer instanceof Theme )
			{
				List errors = tmpContainer.checkContent( module, this, slotId,
						element );
				return errors.isEmpty( );
			}
			tmpContainer = tmpContainer.getContainer( );
		}
		return retValue;
	}
	/**
	 * 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( )
	{