Bug 565388 - Switch to using permanent windowless docshells.

Work in progress switch to permanent docshells.