Allow output prompt to leave out numbers for qtconsole

This is motivated by this Spyder issue:

https://code.google.com/p/spyderlib/issues/detail?id=1923
If there's something in IPython, it can't be part of the notebook because qtconsole and the notebook can be installed separately on Linux.