Multiple fixes around logging out
- Improve login status text. After logout, show "Not connected"
- REST: log out and cleanup properly
- DDP: don't force "logged out" right after connecting
- Ignore errors on LogoutCleanup, so we can attempt to log in again afterwards
- Include ECMEnableSanitizers to make it easy to build with sanitizers
- Log out from both DDP and REST
- Fix crash in restapiabstractjob (hard to reproduce)
- Fix Json for logout-cleanup
- Fix reconnect after suspend: wait for logout to complete before reconnect
- DDP: fix handling of server closing connection during logout
Edited by David Faure