Add a script to generate the source releases

We sometimes have issues such as #961, where distribution packages are annoyed by some inconsistencies within the source release tar ball.

This pull request adds a script below the distribution folder, which can produce release tarballs deterministically without such stray files.