build: unix install node and dep library headers

Restores functionality from v0.8 where module authors may not be
relying on gyp for building their modules.
Merge remote-tracking branch 'upstream/v0.10' into v0.10