Log the Tor version before running the unit tests

This feature is useful by itself. It also tests get_uname() for legacy/trac#28096 (moved).