Avoid HBase lookups in TsdbQuery.toString().

Calling UniqueId.getName() in the TsdbQuery.toString() method is causing
deadlocks when logging the results of a TsdbQuery execution (if the uids
aren't cached locally). This changes the behavior of
TsdbQuery.toString() to avoid any external calls which could trigger a
HBase lookup.