Added a script for creating a .dmg installer.
Fixed/updated OSX application build scripts.