Fixes 'module' object has no attribute 'handler500' and 404 on instances where debug is False.
Patch by: Lennard de Rijk
A list of bugs is available in the Google App Engine SDK project on Google Code.Please visit http://code.google.com/p/googleappengine for more details.