Move logging setup out of main()
Add exception hook
Merge branch 'wip-logger' of github.com:ceph/teuthology into wip-logger

Conflicts:
	teuthology/run.py
Pretty-up write_initial_metadata; s/run/name/