In relation with the SDK change on mxSession, we introduce a matrixHandler status to handle following status: loggedOut, logged, storeDataReady, serverSyncDone.
(Boolean 'isLogged' and 'isInitialSyncDone' are removed).
- set Online when app is active.
- set Unavailable when app is suspended (inactive).
- set Offline when user logs out the app (this option is currently commented because the user is kept offline when he logs in again from web client).
Multidevice handling: the app compares the presence from server with the local value in order to keep the most pertinent.