Add STARTTLS support for both IMAP and SMTP using mozTCPSocket.upgradeToSecure().
Bug 892519 - [email] Notifications - Email App Not Foreground
Merge pull request #232 from jrburke/bug892519-email-bg-notify

Bug 892519 - [email] Notifications - Email App Not Foreground r=asuth
Bug 841269 - [email/activesync] [Inari] Hotmail account needs to __reportError bad-user-or-pass errors so we trigger UI to have the user fix their password.
Combine ActiveSync and IMAP tests into one file.
Add checkAccount to activesync account
Bug 841269 - additional test, detect already-connected failures
Merge pull request #248 from asutherland/activesync-password

Bug 841269 - [email/activesync] [Inari] Hotmail account needs to __reportError bad-user-or-pass errors so we trigger UI to have the user fix their password. r=asuth, r=mcav
Bug 841269 - fix layering/lazy loading
Merge pull request #250 from asutherland/fix-as-layers

Bug 841269 - fix layering/lazy loading. r=jrburke
fix typos, remove const
Pass "crypto" directly to simplesmtp for clarity
Bug 847032 - add unit test for HELO bypass; expose console.log to logs
Merge pull request #251 from asutherland/starttls

Bug 847032 - [email] IMAP only supports initially-SSL encrypted connections, STARTTLS upgrade not supported from unencrypted cleartext. r=asuth