Remove workaround that was hard to uplift.
Bug 847840 - TEST-UNEXPECTED-FAIL | tests/test-selection.test Selection Listener on frame | Test output exceeded timeout (60s).

Tried to wait the `document-shown` notification before resolve the window, and also move the shutdown functions (`close`, `loader.unload`, `done`) for the test that sometimes is failing.
Fix match pattern wildcard to not match invalid domains
Merge pull request #923 from jsantell/fix-matchpattern-856913

Fix Bug 856913, fix match pattern wildcard to not match invalid domains, r=@ZER0
Bug 849764: Replace removeObserver() calls with three params with two in addon-sdk dir. r=Mossop
Documentation for URL.isValidURI
Merge pull request #925 from jsantell/document-isvaliduri-857909

fix Bug 857909 Documentation for URL.isValidURI, r=@wbamberg
Documentation for util/array and util/object
Merge pull request #926 from jsantell/document-utils-857354

fix Bug 857354, Documentation for util/array and util/object, r=@wbamberg
Allow URL instances in Request
Merge pull request #927 from jsantell/request-using-url-857902

Fix bug 857902 - Allow URL instances in Request r=@erikvold
Merge pull request #908 from ZER0/selection-timeout/847840

Bug 847840 - TEST-UNEXPECTED-FAIL | tests/test-selection.test Selection Listener on frame r=@Mossop
Merge pull request #889 from Gozala/bug/remove-method-workaround@839746

Bug 839746 - Remove workaround that was hard to uplift. r=@zer0
Merge remote-tracking branch 'upstream/master' into bug/private-panels@816257