testing/main: add subcommands to dump all ranks
This adds subcommands to dump the ranks of all nodes, either computed naively or with the use of the leap information.
Both will be useful for testing and debugging against the bigger graphs from vcsgraph-references.
Requires !15 (merged)