replace synclog with case_sync_op
make case_sync_op and last_sync optional
Merge branch 'master' into cc_fix
remove type and hq_user_id from CaseState
Merge pull request #4804 from dimagi/cc_fix

replace synclog with case_sync_op