Fix some incorrect deletion behavior in Exchange email sync

* Two issues resolved here...
* We were sending deletions before flag changes, so that a newly
  changed read state wouldn't get sent to the server, and the deleted
  message would remain in its prior state
* We need to set the MOVED flag on the local-only copy of the
  deleted message, so that it gets deleted when the server copy is
  downloaded during a subsequent sync of the deleted items mailbox

Bug: 5154937
Bug: 5151828
Change-Id: I88fe546c6fb9b62caf19bd1c62e5b5ad532eed57
1 file changed