Bug 951991 - Assert against calling GetCurrentInnerWindow on an inner. r=smaug

The current convention is that this returns null when invoked on an inner, which
callers may or may not handle correctly. But when we start using GetEntryGlobal,
we'll end up with a lot of inners where we used to get outers, so we should get
strict about this now.
Bug 951991 - Implement GetEntryGlobal. r=smaug
Bug 796938 - Switch nsGlobalWindow::Focus to GetEntryGlobal and eliminate nsContentUtils::GetWindowFromCaller. r=smaug
Bug 796938 - Switch nsHTMLDocument::Open and XMLDocument::Load to a new GetEntryDocument API and remove nsContentUtils::GetDocumentFromContext. r=smaug
Bug 796938 - Switch nsGlobalWindow::SecurityCheckURL to GetEntryGlobal. r=smaug
Bug 796938 - Switch to GetEntryGlobal in GetCallerDocShellTreeItem. r=smaug
Bug 796938 - Switch to GetEntryGlobal in nsWindowWatcher::GetCallerTreeItem. r=smaug
Bug 796938 - Switch to GetEntryDocument in GetDocumentCharacterSetForURI. r=smaug
Bug 796938 - Switch nsLocation::GetSourceBaseURL to GetEntryDocument. r=smaug
Bug 796938 - Remove GetDynamicScriptGlobal API. r=smaug
Bug 796938 - Use GetEntryGlobal in nsGlobalWindow::FireAbuseEvents. r=smaug
Bug 796938 - Use GetEntryGlobal in NS_ScriptErrorReporter. r=smaug
Bug 796938 - Use GetEntryGlobal in nsWindowWatcher::URIFromURL. r=smaug
Bug 796938 - Switch to GetEntryGlobal in nsLocation::SetHrefWithBase. r=smaug

We leave this flag on the script context for now - we can move it somewhere
else later.
Bug 796938 - Remove GetDynamicScriptContext API. r=smaug
Bug 1055541 - Fix build failure on VS2013 with --enable-warnings-as-errors due to Warning C4996. r=ehsan
Bug 1055512 - Actually input a stereo buffer into the ScriptProcessorNode in the test case for that node; r=padenot
Bug 1055517 - Fix some more bad implicit constructors in XPCOM; r=froydnj
No bug - Widen the allowable number of asserts in test_bug437844.xul to 19-21 so we don't have to keep adjusting it everytime something randomly perturbs it.
Bug 1035075 - Dispatch a runnable to wait for the PAC thread to shutdown. r=mcmanus