osx: add archive and upload script
Merge pull request #1316 from monkeyiq/2014apr/issues/1256scriptupdate2

osx: add archive and upload script