support functions in QueryThenFetchTask

removes LocalMerge with TopN projection from qtf-plans
update elasticsearch to 1.4.0