Quick fix. Necessary for Bug 800402
Bug 800402 - Update tests to catch the front-end regression, improve notification consistency because of move/deletion bug caught

expect_unread now also checks that the front-end state is properly updated.
For some reason I thought we had that base covered already.

As a side-effect of fixing that the mutation tests related to moves/deletion
caught that we weren't notifying in all cases.  So I simplified things so that
we always notify when the folder saves (because it's dirty).

This then caught that the upgradeDB job wasn't issuing a save or dirtying, so
I fixed that.  Hooray tests!
Merge pull request #330 from asutherland/unread_msgs_fix

Bug 800402 follow-up to fix updating of front-end MailAPI reps. r=asuth (includes review-fixups)
Bug 885110 - [email] Switch to email.js libraries. r=asuth r=jrburke
Merge pull request #331 from mcav/emailjs

Bug 885110 - [email] Switch to email.js libraries. r=asuth r=jrburke
Bug 1060475 - [email] DEBUG=1 in firefox nightly not working with emailjs changeset
Bug 1043516 - [email] Error Domains for sockets. r=asuth
Merge pull request #334 from mcav/pr-332

Bug 1043516 - [email] Error Domains for sockets. r=asuth
Merge pull request #333 from jrburke/bug1060475-email-debug-1-setup

Bug 1060475 - [email] DEBUG=1 in firefox nightly not working with emailjs changeset r=asuth
oauth progress
checkpoint: autoconfig test passes again; activesync creation needs autodiscover love
status commit to rebase
"make autoconfig DOMAIN=example.org" works. yeahhhhhh
make activesync creation work again with autodiscover
Bug 1059100 - [email] XOAUTH2 Backend IMAP/SMTP support.
Integrate and fix oauth stuff
improved logging on refresh failures, tighter test constraints
client_id to clientId for all gelam uses
b2g35 changed the settings import we don't need; so just don't import it
markSyncRange and its friend should dirty the folder state to ensure notifications are generated