new api to get list of workgroups by group

@mattdrayer @martynjames  added new api to get workgroups by a group. It would support MCKIN-1612