Rename GlobalSynchronization to Locks

Also address some review comments in common_throws relating to
ToStr<InvokeType> and exception detail messages.

Change-Id: Ibf2c0f147689fa236d349bd7f01eed3c2522552b
diff --git a/src/logging.cc b/src/logging.cc
index 712c02b..a0c07cf 100644
--- a/src/logging.cc
+++ b/src/logging.cc
@@ -51,7 +51,7 @@
 // This can be used to reveal or conceal logs with specific tags.
 void InitLogging(char* argv[]) {
   // TODO: Move this to a more obvious InitART...
-  GlobalSynchronization::Init();
+  Locks::Init();
 
   // Stash the command line for later use. We can use /proc/self/cmdline on Linux to recover this,
   // but we don't have that luxury on the Mac, and there are a couple of argv[0] variants that are
@@ -104,7 +104,7 @@
 
   // Do the actual logging with the lock held.
   {
-    MutexLock mu(*GlobalSynchronization::logging_lock_);
+    MutexLock mu(*Locks::logging_lock_);
     if (msg.find('\n') == std::string::npos) {
       LogLine(msg.c_str());
     } else {