nodePackages: Enable source patching, patch shebangs, patch versions 

This enables patching of node packages and adds patch for shebangs and patch for versions. This pull request replaces https://github.com/NixOS/nixpkgs/pull/4850/files
Hm, i haven't thought about that, will fix this and retar it before configure phase.