editor/view: Remove unused methods.

These were moved to command objects.
Move command mode to modes package.