(bug 38201) Added wb.Site.prototype.getGroup

Updates test plus some general overdue cleanup.

Change-Id: Iedfa02a75fd9ce634cb3e46bd42100838033b153
Merge "(bug 38201) Added wb.Site.prototype.getGroup"