Update ganttGridEditor.js

Updated to accept icon information and attach icon information to the resource. Also changed add task method to add hierarchical data.