Bugfix: fixed problem with scanned files not being cleared in DB when cleared in code causing various problems with serialization (of scanned files) and de-synchronizing stats and scanned files (CH-156) (CH-149).
Bugfix: pausing/resuming task did not take already processed part of files into account. That caused resuming to ask for file replacement when unnecessary (CH-140).