A sharped version of node.extend as port of jQuery.extend that actually works on node.js