change MessageType from class to enum #22
add logging function exceptionDetails()
begin to change EntityType from class to enum #22
filed a bug: https://code.google.com/p/dart/issues/detail?id=21955
change EntityType from class to enum #22
change CheckpointState from class to enum #22