added support for creating .app for mac

Ignore-this: cd113e97fd7416e97d1824297f090682

darcs-hash:20130323235431-c21fe-467e8239289af9c168ea5303267bad89d1cb4365