Added logOutPrimaryDevice function to identity client context.
Similarly to e.g. registerPasswordUser, it creates singleton device list on its own.
Renamed createInitialDeviceList to createSingletonDeviceList - this name is more universal.
It can be also re-used during backup restore.
Depends on D12585