Implement insert and update method for ContactMetadataProvider.

Insert and update values to MetadataSync table, and also parse the data
column to MetadataEntry object, and then update other related tables
for the raw contact.

BUG 20055193

Change-Id: Ice7a6db308995704e7a5fb12b9594be03fa39cd1
3 files changed