Mac packaging WIP

Nothing is integrated yet, but you can get a sense of the design.

/cc @schisamo @sersut