ISPN-263 Handle cluster partitions

https://issues.jboss.org/browse/ISPN-263

I added one more commit with some test fixes.
All commands seem to do the same, I've created https://issues.jboss.org/browse/ISPN-4625 to do them all.