bug 945748 - PageMod.contentScriptWhen tests

test that the PageMod is attached at the right time, depending on the
contentScriptWhen option value.
Bug 964614 - Intermittent TEST-UNEXPECTED-FAIL | tests/test-addon-page.test add-on page deprecation message | only one error is dispatched - 1 == 0 | TypeError: messages[0] is undefined
Added getTabForId
Bug 967294 - addon-page test add-on fails on fennec
Merge pull request #1381 from erikvold/967294

Bug 967294 - addon-page test add-on fails on fennec r=@jsantell
Bug 952335 - Provide the full path for OS.Constants.Path.libxul on OSX. r=mossop
Revert "Merge pull request #1367 from jsantell/loader-loads-itself"

This reverts commit 571932a29074883a43ce868b7097371fa0cdf12f, reversing
changes made to f8e8ec46c31ae6e40f407c1b542d607cc7ad885c.
Bug 961194 - Pull out stack utils in loader to prevent circular dependencies in SDK
Merge pull request #1369 from jsantell/961194-modularize-loader-utils

fix Bug 961194 Modularize toolkit/loader, r=@erikvold, @gozala
Bug 926264 using a setTimeout before exiting tests and adding some additional logs
Merge pull request #1382 from erikvold/926264p3

Bug 926264: using a setTimeout before exiting tests and adding some additional logs. r=Mossop
Bug 969739 - A promise chain failed to handle a rejection in the private-browsing-supported add-on test
Bug 944951 - bootstrap.js must remove the added resource: URIs on unload
Bug 908153 removing usage of older openBrowserWindow (which did not wait for focus) and capturing more promise failures
Bug 969774 - isPrivate should accept a nsIChannel
Bug 786998 - test tab events (other than open event) are removed on unload
Bug 964118 - page-mods need a way to alert content-scripts when the add-on in unloaded
Bug 969993 - Raise min/max Versions supported when using --force-mobile
Bug 899747 - Removing use of about:home in tests because the page makes network requests
Bug 966730 - Disabling toggle buttons doesn't work

 - Avoid to set unnecessary state properties
 - Set the toggle on window level by default
 - Added test cases