Fix the Jedi REPL completion to work with IPython

Previously, it wasn't really working (it just looked like it did because it
set the completer to use ...). The reason is that IPython resets the completer
to its own completer after every prompt. The solution is to detect when we are
in IPython and disable its readline support.