Fix error with autocomplete.

Now that CodeMirror is obtained by 'self codeMirror',
self must have correct value, so callback needed .bind call.
Release version 0.3.1.