REVIEW: [NX-213] Normalize download stuff, move common bits to wonderland

https://issues.sonatype.org/browse/NX-213
https://bamboo.zion.sonatype.com/browse/NX-OSSF28