Generalized Mac sleepwatcher's app restart scripts

To restart all apps enumerated in ~/.wakeup.apps, not just Papers2