Bug 848266 - [email] Have MailAPI resolve e-mail addresses to contacts
normalize author reps for composition to inert JS objects
expose method to resolve email addresses to contact-normalized peeps

This is for the compose process.
xulrunner loading test file properly
test_imap_general.js runs successfully now
IMAP tests pretty much green; fixing ActiveSync tests

compose is probably unhappy too, although the new DeviceStorage helper
should be of assistance.
status commit: activesync fixes, currently fixing compose though

Experiencing DeviceStorage security errors, unclear why.
generate summaries at the end, support batched runs, activesync progress
fix problem with progresslistener getting collected

We may now be too overkill on setting parentWin in since the real problem
was a GC issue.
Merge remote-tracking branch 'upstream/master' into test-in-real-window

Conflicts:
	Makefile
Upgrade alameda with requested onError fix

require.js supports onError reporting of timeouts, but alameda didn't,
which made it hard for the test runner to detect the errors.  I have
a pull request up at https://github.com/requirejs/alameda/pull/1 for
alameda, which I have provisionally included here.

This commit does not hook it up.
detect test file errors and properly report results/exit runner
re-green tests after merge of delayed online lib loading
Bug 814257 - Import vingtetun's gelam patch

Attachment from:
https://bugzilla.mozilla.org/attachment.cgi?id=722927&action=edit

One conflict on data/lib/mailapi/jobmixins.js, easily resolved.
Bug 814257 - Vivien's worker thread support modules for the main thread

Verbatim from:
https://bugzilla.mozilla.org/attachment.cgi?id=722938&action=edit
Submodules with Vivien's patches applied.
status commit: in-progres routing normalization, worker bring-up
test_imap_general.js works and passes!
Merge remote-tracking branch 'upstream/master' into worker-thread

Conflicts:
	data/lib/mailapi/activesync/folder.js
	data/lib/mailapi/imap/imapchew.js
	data/lib/mailapi/maildb.js
	test/unit/test_mutation.js

Version change for maildb.js propagated to maildb-main.js with comment added.
extra temporary console debugging for postMessage comms

I'll comment these out before landing.  They are handy enough to want to be
able to turn them on, but uncommonly enough that it's not worth putting a
conditional on and bothering the JS engine with them at all.