Bug 864986: Ignore multiple calls to a Disposable's destroy method.
Bug 858402: added addEventListener and removeEventListener methods to sdk/net/xhr and used a load event listener to check if the request cleaned up itself, instead of using a setTimout.

Also cleaned up the test-xhr.js file to use the new test framework.

The setTimeout was either not firing soon enough or it was firing too soon.
Bug 846165: eliminate race condition in panel reload test
Bug 865057: test-windows.testTrackWindows would fail to finish if other windows were open
Bug 865061: tests/test-window-utils.test window watcher without untracker was timing out, either because of the needless extra logic here or because of the setTimeout

Also this test wasn't waiting for the window it opened to finish closing before completing
Merge pull request #969 from erikvold/865061

Fix Bug 865061: tests/test-window-utils.test window watcher without untracker fix r=Mossop
Merge pull request #968 from erikvold/865057

Fix Bug 865057: test-windows.testTrackWindows would fail to finish if other windows were open r=@Mossop
Merge pull request #967 from erikvold/846165

Fix Bug 846165: eliminate race condition in panel reload test r=@Mossop
Merge pull request #965 from erikvold/858402

Bug 858402:  Intermittent tests/test-xhr.testLocalXhr | Timed out r=@Gozala
Merge pull request #963 from Mossop/bug864986

Bug 864986: Ignore multiple calls to a Disposable's destroy method. r=gozala
Bug 838980: Test that context-menu works correctly with private browsing support. r=gozala
Bug 792636: Add some automatic leak tracking to the test harness. r=ochameau
Merge pull request #966 from canuckistani/bug_865281_doc_tab_id

bug 865281 - add minimal documentation of the tab.id property, r=@wbamberg
Bug 858402: reading a file which is not being used for any other reason to avoid Windows read error

WindowsError: [Error 13] The process cannot access the file because it is being used by another process
Merge pull request #975 from erikvold/858402-2

Bug 858402: testLocalXhr - reading a file which is not being used for any other reason r=@Mossop
Bug 865547 some tests would end without waiting for their windows/tabs to close
implemented tabs.getTabById