Bug 866733 - Replace 'for each (v in iterable)' loops

Replace deprecated 'for each (v in iterable)' syntax
with 'for (v of iterable)'

There are several remaining uses of 'for each' which
iterate over objects that are not iterables.
Merge pull request #1557 from robertknight/866733-replace_for_each_loops

fix Bug 866733 - Replace 'for each (v in iterable)' loops r=@ZER0
bug 1036658 - shorten test timeout unless on CI
Bug 1040432 - Move sdk/system/xul-app to a jsm so that cuddlefish/toolkit loaders can access it easily. r=Mossop
bug 1041844 - disable e10s tests on aurora, beta
Merge pull request #1559 from zombie/1036658-short-timeout

bug 1036658 - shorten test timeout unless on CI, r=@Mossop
Merge pull request #1560 from zombie/1041844-e10s-beta

bug 1041844 - disable e10s tests on aurora, beta, r=@erikvold
Bug 1038381 - Replace usage of @test/options with sdk/test/options
Merge pull request #1563 from erikvold/1038381

Bug 1038381 - Replace usage of @test/options with sdk/test/options r=@gozala
Bug 1043648 Calling `window.stop` in page-worker's content script cause error in console

- Set `contentWorker` before add the listeners for `pageshow` / `pagehide`
- Unit test added
Bug 1042976 - TypeError: debuggee.runDebuggerStatement is not a function

- Used `exportFunction` in test addons
Merge pull request #1565 from ZER0/runDebuggerStatement/1042976

fix Bug 1042976 - TypeError: debuggee.runDebuggerStatement is not a function r=@jsantell
Merge pull request #1564 from ZER0/worker-null/1043648

fix Bug 1043648 Calling `window.stop` in page-worker's content script cause error in console r=@jsantell
Bug 742444 - Rejigger unsafeWindow definition to not rely on passing waivers across origins. r=gabor