Properly scope Pouch.merge.winningRevs for node
Fix various regressions with node implementation