Fixed logout for the web version. Also added isCordova property to
Mist instance