ensure that insert mode debug/verbose messages use echom
pydev code completion fixes

- filter out error completions
- filter out import completions
- fix pydev NPE by updating DummyTextViewer to supply non-null value in
  getTextWidget()

fixes #307