ISPN-3051 Allow configuring the number of segments per node

https://issues.jboss.org/browse/ISPN-3051

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.