Add package task. Fix static path finding.

Using path.resolve does not work as intended when the packaged OS X app
bundle is executed directly.
Update run task to use packaged app.