Bug 852710: defer loading protocol modules until first use
Use Array.slice instead
Fixes failing test for fake/account, also fixes issue with getFolderMetaForFolderId so setting up fake account in gaia works.
lazyInit now lazyConnection, pass failString through to makeConnection in all activesync modules, always give this.conn a value in constructor, in lazyConnection, make explicit errback local variable to make use clearer, move up exports in mailapi/composer with comment, outdent require callback in imap/folder to make merge of later change easier.
Merge pull request #151 from jrburke/onlinedelay

Bug 852710: defer loading protocol modules until first use r=asuth
[activesync] Encode the message buffer to UTF-8 before sending on EAS 12.x and lower
Merge pull request #154 from mozsquib/activesync-sendmail

Bug 853659 - [email/activesync] Fix sending mail on Exchange 2007 and lower
Remove sed step since no longer necessary, and OS X's sed does funny things with file endings that cause noise in gaia diffs. r=asuth
Merge pull request #155 from jrburke/remove-sed

Remove sed step since no longer necessary r=asuth
[activesync] Fix getting the item estimate for older versions of Exchange
Merge pull request #153 from mozsquib/activesync-item-estimate

Bug 853602 - [email/activesync] GetItemEstimate fails for older versions of Exchange
Fixes 853908 email: point where to find codepages parts not in protocol layer for autoconfig detection pathway
Merge pull request #156 from jrburke/bug853908-noautoconf-load

Bug 853908 email: point where to find codepages parts not in protocol r=asuth
Provide (hopefully accurate) steps for setting up dovecot for testing
Merge pull request #157 from mozsquib/dovecot-docs

Provide (hopefully accurate) steps for setting up dovecot for testing
Bug 854097 - [email/IMAP] Saving sent mail to 'sent' folder on servers that don't support MULTIAPPEND regressed by bug 814257. r=asuth
Merge pull request #158 from asutherland/email-fix-imap-append

Bug 854097 - [email/IMAP] Saving sent mail to 'sent' folder on servers that don't support MULTIAPPEND regressed by bug 814257. r=asuth
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