remove uv.h dependency in darwin-specific code
fix gyp builds
include correct uv header in test fixture
bump cocoa dependency