Update lib/codemirror-adapter.js

Add method to remove CodeMirror listeners