Fix py2app build

This fixes most of the OSX packaging problems.

The resulting .app file has been tested on a number of
independent machines:

https://github.com/weecology/retriever/issues/141

Thanks to @barrywark for finding the solution!