Add support for retrieving the list of members of a dynamic group.

I'm wondering whether we should avoid the use of inlineCallbacks here and just use deferreds? I don't have an easily articulated reason beyond "it feels less complicated" though (so feel free to just say it feels better to you this way).