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.

Origin: https://github.com/nico/ninja/commit/4a5f729587c69cbe4343550436d0037d147383c3