Bug 871306 - Add an API for directly accessing the default JSD global and use it in ActivateDebugger. r=gabor
Bug 871306 - Remove globalObject from jsdIFilter. r=gabor

It looks like firebug only ever passes null, which is equivalent to not using
it at all.
Bug 871306 - Use the current global rather than the default global in jsdContext::GetGlobalObject. r=gabor

As far as I can tell from the IDL docs and digging through the Firebug source,
this is what we want here.
Bug 873698 - Remove JS_GetGlobalObject from plugins. r=gabor
Bug 868110 - Remove JS_GetGlobalObject from the IPC test-shell. r=luke

This one is easy to infer, because we subsequently call JS_CallFunctionValue,
which asserts that cx, obj, and fval are all same-compartment. So assuming
this code doesn't compartment mismatch right now, this should be equivalent.
Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke

The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.

We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
Bug 868110 - Remove JS_GetGlobalObject. r=luke

\o/