Various bits of cleanup.

Most notable: PrettyField now includes the type (but, like PrettyMethod,
lets you turn this off), and there's a new PrettyClass, and PrettyType
has been renamed to PrettyTypeOf.

I've also moved the dalvik "sync" stuff into files named "monitor", and
made some of the implementation details private.

Change-Id: I39ea79b45e173f9ebbf9878bcead207766a5653f
diff --git a/src/object.h b/src/object.h
index b57c0e9..59909e1 100644
--- a/src/object.h
+++ b/src/object.h
@@ -1467,18 +1467,16 @@
 
   void SetClassSize(size_t new_class_size) {
     DCHECK(new_class_size >= GetClassSize())
-            << " class=" << PrettyType(this)
+            << " class=" << PrettyTypeOf(this)
             << " new_class_size=" << new_class_size
             << " GetClassSize=" << GetClassSize();
-    SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_size_), new_class_size,
-               false);
+    SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_size_), new_class_size, false);
   }
 
   size_t GetObjectSize() const {
     CHECK(!IsVariableSize());
     CHECK(sizeof(size_t) == sizeof(int32_t));
-    size_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, object_size_),
-                               false);
+    size_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, object_size_), false);
     CHECK_GE(result, sizeof(Object));
     return result;
   }