Fixed: #2278 Editor should not have upward dependencies on EditorManager

Fixed #2278
added focus listener and moved _handleSelectAll() to EditorCommandHandler
@dangoor i opened a new pull request