add sitemapindex generator

add the generate_sitemapindex function which takes a list of dicts containing
a 'loc' key and optionall a lastmod key (containing a datetime.date or
datetime.datetime object) and creates a sitemapindex file.