issue 338

Align opts.complete behavior to http for indexeddb and websql, i.e. to fire only when replication
is cancelled ( continuous = true )