Fix typo in client SQL: s/prececessor/predecessor/
Always save remote file event Id's back to the local database

This ensures database.DatabaseLatestRemoteEvent() returns the latest
remote event we have received and limits the number of duplicate events
the client will receive.