node --eval "require('./')"

This change is intended to fix mapbox/node-pre-gyp#46, i.e. the module is required (not executed).

Some initial preparations are made for mapbox/node-pre-gyp#47, e.g. the node-webkit-specific check is copied to its own part of the code and removed from Node's.