Make curl retry count and download concurrency configurable
Add --max-retries (default: 7) and --max-concurrent-downloads (default: 10) flags to `foliage build`. With 7 retries, curl's exponential backoff spans 1+2+4+8+16+32+64 = 127 seconds, giving GitHub ample time to recover from transient 502s. Lowering concurrent downloads from 20 to 10 further reduces server pressure under high parallelism (-j 0).