Replace `getActiveEditor`

Replaced `workspace.getActiveEditor` with
`workspace.getActiveTextEditor`.
Remove `workspaceView`

Removed references to `atom.workspaceView` and to the `WorkspaceView`
class. Instead, we can activate one of our commands with
`atom.commands.dispatch`.
Merge branch 'fix-deprecations'