testing/main: move testing CLI from example to lib binary
This moves the testing CLI entry point from the Cargo examples to a binary hidden behind the "cli" feature flag.
This will allow other test binaries (such as the analytics entry point) to reuse the CLI-related graph IO functions more easily.
Requires !13 (merged).
Edited by Euxane TRAN-GIRARD