(#2085) Make replicate indifferent to the order of sequence 'numbers'
(#1918) properly destroy leveldbs with prototype