Fix some Contacts upsync bugs; add logging for serialization

Change-Id: I855a8ee3df520f53fc94866b8463d314cf800ca5
3 files changed