Update Wikibase, use siteGroup setting instead of doing lookup

backports I9d52070 into deployment branch of Wikibase

re-introduces siteGroup Wikibase setting which can be explicitly set,
for improved performance and reduce memcached load.

Bug: 56602
Change-Id: I8cffd8c9a1c4201234978676042c497c7e93ff2f