Bug 865729 - Remove nsIJSContextStack from content/foo. r=gabor

We leave it in nsContentUtils.cpp, which we'll handle in a separate patch.
Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor
Bug 865729 - Remove nsIJSContextStack from xpconnect/loader. r=gabor
Bug 865729 - Remove nsIJSContextStack from other miscellaneous parts of gecko. r=gabor
Bug 865729 - Make nsIXPConnect inherit nsIThreadJSContextStack. r=gabor

Right now, the concrete nsXPConnect implements nsIXPConnect and
nsIThreadJSContextStack separately. I want to migrate the API from the latter
interface to the former, but I can't right now because it means we'd end up
with a duplicated method (getSafeJSContext). Since there's only one concrete
class that implements nsXPConnect, let's just use interface inheritance, which
simplifies the migration.
Bug 865729 - Make nsContentUtils munge the cx stack with sXPConnect directly. r=gabor
Bug 865729 - Use sXPConnect directly in caps. r=gabor

It's tempting to go through nsContentUtils here, but I'm pretty sure caps is
initialized before nsContentUtils.
Bug 865729 - Use XPConnect directly in C++ unit tests. r=gabor
Bug 865729 - Remove Push/Pop from public API. r=gabor
Bug 865729 - Remove Context stack iterators. r=gabor
Bug 865729 - Remove nsIJSContextStack. r=gabor

\o/
bug 866544 - ignore break position at end-of-text returned by UCFindTextBreak. r=smontagu
[Bug 866527] Fix ctypes rooting hazards r=terrence
Bug 866804 - Fix sometimes-unitialized warning in nsGUIEventIPC.h. r=smaug

--HG--
extra : rebase_source : c4b8392ad94aae528c345341d2b9521aa88b98e7
Bug 865915 - Fixed unmatched JS_EndRequest. r=mccr8
Bug 743158 - Take focus away from awesome bar when accessing awesome screen lists. r=wesj
Bug 845125 - Add gfxImageSurface constructor that allocates more space than needed, change AlphaBoxBlur to not hold on to the data and let the callers manage it. r=jmuizelaar
Bug 866737 - Unregister PannerNodes when they're unlinked by the cycle collector; r=padenot
Bug 866755 - Fix nsDocument::HasNameElement typo. r=bz.

--HG--
extra : rebase_source : ab46b6eaa2183d607c07b666ae52541fcdf089ec
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS