Added error codes and also status checks. Based on the status code and
error codes, emit a syncFinished to ensure that the plugin gets unloaded
properly.

Signed-off-by: Sateesh Kavuri <sateesh@mobilitas.co>
Fixed issues with timestamps in qtcontacts-tracker by a working of
adding 5secs to the sync result. Added method to store the local id to
google, so that the mapping between localId and guid can be done. With
this patch, 2-way fast sync works. qtcontacts-tracker does not support
the retrieval of deleted contacts(QDateTime) and so contacts deleted
locally cannot be deleted in remote server. Need to check this in
qtcontacts-sqlite

Signed-off-by: Sateesh Kavuri <sateesh@mobilitas.co>