working on creating an mac app bundle

Ignore-this: 6ec64adcb65890d5721175c1e28577b3

darcs-hash:20140401030637-c21fe-8c0f2b9aee8452b6e926ec162efb70eecb4cd286
added reference to libsnappy for mac build

Ignore-this: ccb7dec1b551b6078edabb3d4326de67

darcs-hash:20140730035416-c21fe-441b1a1726b838764223af56fe1313eb481c09f6
fixed bugs found by static analysis

Ignore-this: 1b02bd081edacdcd79afd3b5cb389273

darcs-hash:20140730035446-c21fe-9ac208dbcd14d03179c4a0b408f352e162315b90
added compression to firegreet

Ignore-this: 781ac801eb71f5c30bd667105718584

darcs-hash:20140730152020-c21fe-56d9a564a2d45142a6fdae6086f97112feaa4542