Add gyp.
Fix npm install.

npm will not tar up anything in .gitignores so the generated files were not available at install time.