def enumerate_groups(id=None, exact_match=False, **kw):
    """Return an iterable of group info that match the given id exactly 
        (if exact_match is given), or partially (if not). Group info is a dict
        with keys id, title.
        """
