support functions in QueryThenFetchTask

removes LocalMerge with TopN projection from qtf-plans
the other declaration is global, this one is local