Redo how path hierarchy information is stored to make it more usable.

We weren't previously doing anything with this, but I think this new
storage approach should make it much more feasible to do drill-down
queries around this data.
Bump gatekeeper.