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
Isn't there probably something in IPython that you can import that can do escaping for HTML?