LPS-36656 Available locales and default locale per site

Hey Brian,

The reason why I needed the code in d79b9bc is not because of themeDisplay but scopeGroupId. In order to obtain the locale of the site I need the scopeGroupId information and I can only obtain that information if I move the location of code someplace after this code 

```java
request.setAttribute(WebKeys.LAYOUT, layout);
```

Because then, when I call the logic, it can obtain the groupId information from the request and based on that return the right locale.

```java
Locale locale = PortalUtil.getLocale(request, response, true);
```

See the logic in PortalImpl.java#getLocale(HttpServletRequest, HttpServletResponse, boolean)

```java
		long groupId = 0;

		try {
			long scopeGroupId = getScopeGroupId(request);

			groupId = getSiteGroupId(scopeGroupId);
		}
		catch (Exception e) {
		}

```

and in PortalImpl.java#getScopeGroupId(HttpServletRequest, String, boolean)

```java
		Layout layout = (Layout)request.getAttribute(WebKeys.LAYOUT);

		long scopeGroupId = 0;

		if (layout != null) {
			Group group = layout.getGroup();

			........
```