TEIID-3166: adding ability to add Aggregate Options to execution and als...

...o converted the results walking to cursor type