Add high-level tests
[tests] Add a --quick-tests option to the test program to skip the long-running tests
Use a graph of keys instead of a graph of revisions

This is much more useful as it let us extend the graph with other kinds of keys and do some clever tricks on the global graph.