Add a print_phases command to report how many phases there are.
Chutney supports multiple phases so that we can configure the
network in a particular sequence. But to use them in a shell
script, we'll need to have some way to ask chutney how many phases a
network has.