ENYO-3110: reference content is updated before any component deletion

Related JIRA: https://enyojs.atlassian.net/browse/ENYO-3110

Reference content has to be updated before any component deletion because this content will be compared to the one rendered by the designer in order to know if the related ACE content has to be modified or not.

Enyo-DCO-1.1-Signed-off-by: Vincent HERILIER vincent.herilier@hp.com