Add Editor::onDidDestroy
Deprecate editor:will-be-removed