Bug 1005898 - Make WebIDL properties on all globals own properties. r=bz.

--HG--
extra : rebase_source : 3eb201d073b090b2627814264a126a1a4281207f
Bug 1005966 - Add a pref to control whether to use WebIDL bindings for Window. r=bz.

--HG--
extra : rebase_source : ff51d647d6454d4cfbea0a967e64abe00dd74b77
Bug 1005978 - Add infrastructure to create main-thread WebIDL globals with XPConnect. r=bz.

--HG--
extra : rebase_source : 08c6f04e050bdd801a15883bb57d21ff93626024
Bug 1005980 - Make nsGlobalWindow::OuterObject throw when it fails. r=bz.

--HG--
extra : rebase_source : a1a8ab7cec08cdd8ece3feb6f3c8868efdc743d5