Re-introduce siteGroup setting for performance reasons

This eliminates the need for memcached / SiteSQLStore lookup,
if the siteGroup setting is specified, which may be desired
for performance reasons.

The setting is optional and can fallback to doing a lookup.

Bug: 56602
Change-Id: I9d52070a442140846e448860ec3d04385ec8c471