adds query_who which supports buildbot_config and self.config