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

Return additional information the IPython Notebook needs for completion to work.