Add a tool to dump data from .ninja_log.

It's mostly a debug tool, but those run before all flags are parsed. So
make this a regular -t tool.