Convert ActiveSync code to only use ES5 syntax.

Ported from vingtetun's branch by asuth.
Convert fake account to only use ES5 syntax.

Ported from vingtetun's branch by asuth
Convert IMAP/SMTP to only use ES5 syntax.

Ported from vingtetun's branch by asuth.
Convert other logic to use only ES5 syntax.

Ported from vingtetun's branch by asuth.
Add an explicit build target and have the test targets depend on it.

When trying to assist vingtetun in running the tests today, I realized
that the unit tests don't depend on our build process, which is bad.
Also, during the introduction of install-into-gaia, we lost our
gaia-email-opt.js build target which was our only "build but don't
install" target, and it's very handy to have one of those.
Take the ES5 changes for activesync and wbxml
Merge pull request #131 from asutherland/make-build-target

Add an explicit build target and have the test targets depend on it. r=squib
Bug 844426 - limit to ES5 syntax; get rid of generators, fix tests

Take related sub-repo fixes.

Rename some iterators that were dangerously colliding with outer iterators.

Fix unit tests that were broken by a change to the activesync sub-repo that had
not yet been pulled into GELAM, but which was as part of my porting of Vivien's
changes.
Merge pull request #130 from mozilla-b2g/es5-js-only

Bug 844426 - [email] Limit JS syntax to legal ES5 syntax (but not semantics). r=asuth, rs=squib