Bug 924248 - Make nsIDocument.h go on a diet; r=jst

The nsMacShellService code is rewritten to stop using GetLoadContext
which will now only be available in libxul.
Automatic merge