Fix issue with last mod timestamp of the sitemap index file

Fix issue where the last mod timestamp of the sitemap index file wasnt using the most recently last edited timestamp, but the last item in the stack. This often meant editing a page wouldn't update the index file last mod date. Update test to check this, and include test for changeset bbd5e29