Better `dist` process for mac & linux

closes #805
- Added .dmg for Mac
- Added grunt compress for linux32 & linux64
- We’ll keep Windows manually as the .nsi script is not compatible with
other OS
Remove unused function

Fix #805

Need to use `grunt dist --platforms=all`
Syntax issue
[WIP] Added code sign for mac