CMS-4106 Exception in TreeGrid when saving content second time

Added `TreeGrid.getDataId()` method.
Merge pull request #938 from enonic/CMS-4106

CMS-4106 Exception in TreeGrid when saving content second time