Add `--traceback` option to CLI so that on error a complete traceback is dumped to the log and to stderr.