BackupGenerator: add support contacts

restore functions not completed yet.
BackupGenerator: fix missing and duplicate contact

in fact i didn't know this bug before lots of contacts became missing or duplicate
BackupRestorer: add support contacts

now this can fully work with both backup and restore functions