Python 2.5 compat.
Clean up properly for quit, EOF

Eg, stdout wasn't being properly restored for quit.
Rectify comment cut/paste error.
Whoops - print the exception details, not the Exception object!
Merge pull request #9 from kenmanheimer/master

'quit' and 'q' debugger command fixes