Make some bin_client test scripts flexible for testing ledger
These changes were necessary so we could use the test_voting.sh script to test the same operations on the ledger (see our override script here for an example: obsidian.systems/tezos-baking-platform!29 (diffs)). The goal is to leverage as much of the existing testing infrastructure as possible when testing ledger functionality, but with minimal changes to existing scripts.