Adds n-args support to Node's util._extend function.