WIP: start refactoring auth service to promises
Refactor connection doctor
Refactor update scripts
Refactor crypto module
Refactor oauth
Cleanup mail-config, newsletter services
Revert "Cleanup mail-config, newsletter services"

This reverts commit 6fbeec9294f6f1b1c5d99174be1d30af07534b93.
Use native promise api in services
Refactor admin and privatekey dao
Refactor auth
WIP: started refactoring keychain