logging: Add a handler for uncaught exceptions
logging: Add a handler for uncaught exceptions

The server responds with 500 to some requests, but there is no trace of
errors apart from that. I remembered one of Stuart Sierra's Dos about
unhandled exceptions. Add the code for that; it had been on the to-do
list anyway. I still don't see any errors logged, though.

rmoehn/theatralia