TAJO-846: Clean up the task history in woker. (jinho)

Closes #20
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into TAJO-840
Editing a null check condition in DistinctGroupbySortAggregationExec::next