Removed unused imports in core/ and plugins/
using phpstorm optimize imports feature