(bug 38201) Added JavaScript wikibase.getSiteGroups()

Change-Id: I4bf38430f12277cacc8c1cead7c4caf53e523d18
Merge "(bug 38201) Added JavaScript wikibase.getSiteGroups()"