LPS-50910 fix logic: we should only return a url to a layoutset if there are pages in that layoutset
LPS-50910 Impersonation lost after clicking on a link in the Sites Directory portlet
LPS-50910 Fix list view as well
LPS-50910 don't use getGroupFriendlyURL for creating URLs to sites since it is not a complete URL
LPS-50910 autogenerated