[WO-786] Select inbox after onConnect
Review navigation
Merge pull request #228 from whiteout-io/dev/WO-786

[WO-786] Select inbox after onConnect
Refactor rest dao to use promises
Refactor public key service to use promises
Refactor pgp service to use promises
Refactor lawnchair dao to promises
Test lawnchair dao

Test pgp promise api
Fix error handling in lawnchair dao
Fix rest dao and invitation dao
Test device storage dao
Test public key dao
WIP: start refactoring auth service to promises
Refactor connection doctor
Refactor update scripts
Refactor crypto module
Refactor oauth
Use native promise api in services
Refactor admin and privatekey dao
Refactor auth