s3-mirror: sync s3-sync-path script with ideas from s3.sh
1. sync everything except for repomd.xml
2. then sync repomd.xml files only, and invalidate caches
3. gently wait a bit to give current downloads a chance
4. delete outdated RPMs and metadata, shouldn't be needed
Also make the sleep/cache configurable.