Support for building a Mac OSX DMG on Linux, requires hfsprogs
Replace '/' or '\' in branch name with '_' to ensure consistent use in
file names
Make sure to use same naming for DMG as .jar and .exe installer builds
Merge pull request #421 from adamretter/feature/dmg-linux-build

Support building Mac DMG on Linux