Precompute edge and node properties

In particular, compute the command hash for edges and the stat mtime
for nodes. A few edge binary flags are also precomputed for a minor
improvement in dep scan time.

Bug: none
Test: ninja_test
Change-Id: I4152032de49c35ebfafca1ef877d2a6bdc0b8f7c
13 files changed