MacOS distribution issues

This actually links to Sweep-module.so from the development release (9.4.2-1) not usable on macOS from emacs - #7 by twan

I pushed some changes that make the bundle satisfy the Apple bundle content requirements and added some calls to codesign that seems to result in a properly codesigned app on the disk image. But …

As a result the bundle can no longer load .dylibs from other places. Notably it can no longer load XQuartz, Python and Java :frowning: I guess this is because these are not signed? Anyone here who knows are least how this must be fixed in theory? @twan maybe?