Changed the way m_syncLock is used in SyncInfoManager: only lock it when adding/removing
from m_syncedUUIDs; while retrieving an item from m_syncedUUIDs, unlock after the retrieving
and the operations on the retrieved item are no longer inside the lock.