completions: return matched text too (needed by ipython notebook).
Merge pull request #3 from StefanKarpinski/master

completions: return matched text too (needed by ipython notebook).