Fix the synchronization bug.

Make the version of configuration in SYNC_END message always <= last
sync zxid.
Merge pull request #205 from EasonLiao/sync_bug

Bug about synchronization.