added a mechanism to get ItemData in the active row for the join operation.

The key function of this patch is getDataOfActiveRow(), which has
been newly added. It will be used when the where condition is evaluated.

getData() is similar function. It returns the ItemData from
the joined ItemGroup. Against this, this function returns
the ItemData in the source tables.