Possible solution for T48677 and T7423.
Adds UI option for Select Group operator to be applied to all selected objects instead of active object only.
Works for Children, Parents, Siblings and Groups of selected objects. Not sure if it makes sense for any other types.
Possibly there are nicer ways to structure these changes?
Note that this patch also includes D2067.