Move didPurge to inside mergeDatabaseFiles
Refactoring mergeRemoteDatabases (NOTE: stalls test testIssue58_2 due to HSQLDB issues)