Support ipython as the interpreter.

By suggestion from dubiousjim.