Javascript API: include "globalId' as property of FeatureEditResult

Idea created by brambow on Jul 28, 2016

    FeatureEditResult when applyEdits is run should include the globalId property, if it exists, just like the REST API response.  Right now, there is no easy way to access the globalID of a newly created feature.  Due to the async nature of applyEdits, the globalID is not returned on the 'edits-complete' event, although I'm not sure why.