Merge pull request #793 from erikvold/784224-2

Fix Bug 784224: Page-mod tests now work on Fennec r=@ochameau(cherry picked from commit 133c45791de94125e39b98aa11e3d8a9153e0153)

Conflicts:
	lib/sdk/tabs/utils.js
	test/test-page-mod.js
Merge pull request #772 from ochameau/page-mod-pb

Bug 834960: Ignore private document unless addon explicitely support private browsing r=@erikvold(cherry picked from commit 424f66c3663d8d507407952ac8586ab4bc809396)
Merge pull request #857 from ZER0/private-selection2/834958

Fix Bug 834958 - pwpb update selection module to ignore private windows r=@erikvold(cherry picked from commit a0f371fdf21a691186ad7da540f3bdb87079ee3c)
Merge pull request #853 from erikvold/845387

Bug 845387: private-browsing isPrivate should take a content script instance(cherry picked from commit 86d1660710cd4436c8e076a4142ddfc923af4140)
Merge pull request #858 from erikvold/851161

Fix Bug 851161 preventing panels from being used with per-window private browsing r=@Gozala(cherry picked from commit 707eca737187f2e825be9aa6a539c9e7934ef077)
Merge pull request #865 from erikvold/stabilization

Bug 841823: Stabilization branch updates for minimal support of per window private browsing. r=me
Merge pull request #838 from ochameau/tabevents-race

Bug 843500: Fix race condition in firefox tabs code between concurrent module instances. r=mossop(cherry picked from commit ea266834f3c3243dfd0a5f680988b2f3fa7477a8)
Bug 851163: Log a tbpl message for exceptions from the main test functions. r=ochameau
(cherry picked from commit 3bd702979e4ceb7fcf8142ffcb0ea7e37517ce54)
Merge pull request #859 from ZER0/page-mod-test/851320

fix Bug 851320 - private-browsing-supported/test-page-mod fails r=@mossop(cherry picked from commit 19f904bd56ee7fcc819999e1e09a6fff3d63b952)
Merge pull request #860 from erikvold/851320

Bug 851320 test that opened window is not private when it should not be private r=@ZER0(cherry picked from commit 77ecd5b26c3245cebf2de96f9c861df5ce18f80d)
Merge pull request #861 from ZER0/page-mod-test/851320

Bug 851320 - private-browsing-supported/test-page-mod fails r=@erikvold(cherry picked from commit 95c22be219d94bdc4dd91473a0d338c2802abe2c)
Merge pull request #862 from erikvold/851557

Bug 851557: waiting for windows to close before ending tests r=@Mossop(cherry picked from commit c4ab120af338cfa76bc96bde2b7012c2eb77fc04)
Merge pull request #863 from erikvold/851557p2

Bug 851557: print tab urls when there are too many windows open r=@zer0(cherry picked from commit e4aa5aa9fde32134f73ed432f1c1140df66d9297)
Merge pull request #864 from erikvold/851557p3

Bug 851557: wait for selection before closing the opened window r=@zer0(cherry picked from commit 9b6088f1337756753cf724b6cecaad44c870b18f)
Merge pull request #868 from erikvold/852217

Bug 852217: adding more tests to a failing pb testaddon to get more information on the issue r=@ZER0(cherry picked from commit 0fb04f10e7290abe970cbdd0a25de190967eea58)
Merge pull request #869 from erikvold/852217p2

Bug 852217: adding test titles to pages opened in selection pb tests and focusing the test window before testing the selection value @r=ZER0(cherry picked from commit 074d165db96fcb858d227042bef3da321a740571)
Merge pull request #870 from ZER0/private-test-failures/852217

Bug 852217 - private browsing testaddon test failures r=@erikvold(cherry picked from commit ce72c9588742476ef1f5e364379f248c9a2cc344)
Merge pull request #871 from erikvold/852217p3

Bug 852217: focus opened windows in pb tests of pb test addon @r=ZER0(cherry picked from commit 4e4e29d60115b985a72c261142e794d23ca9b221)
Bug 751378 - Remove unused CAPS strings from stringbundle to fix bug 851007. r=bz
(cherry picked from commit e58b0d16fb226db9513814c5d288c313ad72f76f)
Merge pull request #872 from wbamberg/836471-2

Bug 836471 - update documentation for per-window private-browsing; r=@erikvold(cherry picked from commit 4c96d3c01aaaa595c14d49e4194f01a79266ef90)