GSiteMap: added gSitemapAppendUrls hook and fixed $id_obj handling for multiple iterations