ISPN-3051 Allow configuring the number of segments per node

Because the algorithm for allocating segments changed, some tests had to
change as well. E.g. we can't always find a MagicKey that will be owned
by 3 particular members, as in StateResponseOrderingTest.
wip