Finish switch over to node-gyp. Fixes #87.
Various Node.js 0.10.x fixes.