Bug 823348 - Move COW prototype remapping out of wrapper selection. r=mrbkap

It's pretty orthogonal, and makes the critical block more complicated than it
needs to be.
Bug 823348 - Hoist special cases to the top of WrapperFactory::Rewrap. r=mrbkap

This paves the way for more rule-based selection of wrappers in the common case.
Bug 823348 - Replace security wrapper enumeration with a more rule-based approach. r=mrbkap
Bug 823348 - Stop checking for Xray waivers in the Xray machinery. r=mrbkap

All the casese where we want to waive should now be going through WaiveXrayWrapper.
Bug 823348 - Tests. r=mrbkap

We tack these onto the tests from bug 812415, adding coverage for
nsExpandedPrincipal and making sure that the waivers are deep.

We also take the opportunity to check the asymmetric security
relationship between a principal and its corresponding nsEP.
Backout of Bug 757511 (cset 36e938e51481). r=bsmith
Backout part of Bug 726593 (cset 48918f0df283) that uses bug 757511. r=bsmith
No Bug - Bumping uuid of nsIStreamTransportService just in case. r=dougt
Bug 833178 - Increase Stream Transport thread pool max threads. r=bsmith
Backed out changeset e3ee71614172 (bug 830192)

--HG--
extra : rebase_source : d72290552011b539b8d9cc0a7a59dad4e585aa06
Bug 832641 - Invalidate popups when they become visible rather than handling invalidations while they are hidden. r=roc
Bug 828126 - Enable ifdef'd code on Fennec now that dependent bugs have been fixed. r=avih
Bug 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz
Bug 832041 - Followup addressing review comments that was accidentally left out. r=me
Bug 832041 - Actually push code for the followup. r=doh
Bug 827831 - Part 1: [B2G STK]: Decode Comprehension-TLV tag Duration, to support variable timeout for GET INKEY. r=allstars.chh sr=sicking

From 8ae86db8de8199a9fe77c672ed7ace8ec4e26c2d Mon Sep 17 00:00:00 2001
---
 dom/icc/interfaces/SimToolKit.idl |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
Bug 827831 - Part 2: [B2G STK]: Support variable timeout for GET INKEY. r=allstars.chh

From d4f98c2a3b0debfd13747602104a7530b0f999e9 Mon Sep 17 00:00:00 2001
---
 dom/system/gonk/ril_worker.js |    7 +++++++
 1 file changed, 7 insertions(+)
Bug 827831 - Part 3: [B2G STK]: Marionette test case. r=allstars.chh
Bug 831702 - 0001.Add data size calculation function. r=yoshi.
Bug 831702 - 0002.Calculate data size by data size calculation function. r=yoshi.