Added 404 and 500 handlers. 

Will not work until DEBUG is no longer set to true in settings.py