Add support for logging exceptions (fix: #160).

Like with standard module logging, it is enough to add exc_info=True to
the logger call in order to automatically include a copy of the
raise exception and traceback.
Start using exc_info in some logging calls.
Traceback logging can be disabled.