Log unhandled exceptions

Enable logging of unhandled exceptions within the WSGI server.  In the
case of an internal server error a stacktrace will be logged if glance
API or registry has the verbose option set to True.

Partial-Bug: #1246968
Change-Id: I68390495331ba30dab1cd60584d0ed01357514ae
Merge "Log unhandled exceptions"