Added EditorPlugin.remove_import_plugin()
Created by: leezh
Allows addons with import extensions to clean up properly on removal, typically during EditorPlugin._exit_tree()
.
Also, when using a gdscript based import plugin, the editor would segfault when quitting (as the plugin would be referenced after it is deleted) unless this function is used.