Add ability to enumerate currently active groups

Applications using zyre should not need to do bookkeeping for information which is available within zyre directly.