Use the same hack for post_0_11 rewrite prompt

IPython again tries to leave us without unicode in rewrite prompt. But in 
Python, one needs to be more serious than that to be actually able to do this.
Merge branch 'ipython-rewrite' into develop