WL-3544 : Check if site has .anon role

Changed site.isPubView() to site.hasAnonRole()

(Paired with WL-3544 in announcements)

All this does is check that a site has the ANON_ROLE, it doesn't check that any permissions are assigned to that role. You are probably wanting todo security check instead.