Update ext/sitemap/main.php

- Added setup block to choose between generating full sitemap or smaller sitemap
- Added sitemap caching, regenerating at most every day