Add launchd on-demand feature of Darwin branch
Add missing config.h for libev
Merge remote-tracking branch 'upstream/master' into darwin