Add download function and use it for --download, --show-repomd
repomd::parse: compatibility fixes for older repository metadata
expat_minidom::parse(): add variant for unsigned char * buffer
Add --show-source-packages