Cleanup `_.sample` and add missing dependency.
Add `exports=npm` and first round of modularize node.js support.