Changed oa_core_get_public_spaces by oa_core_get_top_level_spaces

Changed oa_core_get_public_spaces by oa_core_get_top_level_spaces for getting spaces for anonymous user. This is for avoiding to get a big list of spaces if you are an unauthenticated user.