Bug 851320 - private-browsing-supported/test-page-mod fails

Used the proper open method and ensure everything is close and the window is in the private mode expected.
Merge pull request #861 from ZER0/page-mod-test/851320

Bug 851320 - private-browsing-supported/test-page-mod fails r=@erikvold