Makefile target to make tarballs.
Moved common code to an Utils module.
Better DISTFILES selection.
Automatically download packages.
Preserve the name when downloading.

This is needed for tar to automatically take a decision on how to
decompress the file.