Mark local models clean before creating them on the remote end

This allows several syncs to proceed in parallel without creating
duplicate records on the remote end when using syncDirtyAndDestroyed().

For our use case, several syncs can be triggered at the same time and this is the simplest solution I found.

This pull request is just to start a conversation, even if you think the solution is not the right one.