Fix mac packaging using bundle generator

This set of commits fixes generation of DMG files for Megaglest along with simplifying the layout of the cpack configuration and adding some comments to help explain what is happening.

Its possible there will be more changes to come as I haven' tried to use the generated file/s yet.