Only activate drag&drop in command mode

The Drag&Drop should only work when in command mode, in edit mode,
handling by CodeMirror is fine.
Merge pull request #82 from juhasch/dragdrop

Only activate drag&drop in command mode