Use fmt::Show for outputting debug information
auto merge of #2336 : bjz/servo/debug_str, r=pcwalton