Bug 960714: Make NPN and ALPN prefs dynamic, r=keeler, r=mcmanus

--HG--
extra : rebase_source : 42ff8c05b682e755d51ec79e2cb26db7cedd382f
Merge mozilla-central to mozilla-inbound
Bug 951268 - Use MaskSurface when drawing A8 filter results. r=Bas
Bug 951268 - Test.
Bug 959570 - Don't draw rounded corners and a highlight line in fullscreen mode. r=smichaud
Bug 944579 - Refuse to create gigantic DrawTargets and surfaces. r=Bas
Bug 960544 - Always export rooting APIs and stop linking unit tests against JS library r=glandium
Bug 675579 - Part 1: Set the dir attribute on the input/textarea element when switching the text direction; r=roc
Bug 675579 - Part 2: Dispatch an input event when changing the direction of a plain text element; r=roc
Bug 959485, part 5 - Remove success from nsJSCID::NewID. r=gabor
Bug 960715, part 1 - Remove XPCWrappedNativeProto::ClassIsMainThreadOnly. r=bholley
Bug 960715, part 2 - Remove nsXPConnect::FindMainThread(). r=bholley
Bug 958001 - Remove mNeverUseDeviceSurface from imgFrame, r=jrmuizel
Bug 958984. Move SurfaceMode enum out of Layer class so we could forward declare it instead of including header. r=nical
Bug 958816 - Make strings in nsIStackFrame API sane, r=bz
Bug 941138 - Move the code to update the cached transform. r=botond
Bug 941138 - Remove a redundant ScreenPoint argument. r=botond
Bug 941138 - Make the duplicated code paths consistent. r=botond
Bug 904622 - RTP stats on the about:webrtc page. r=bwc
Bug 936044 - Fix wrong license header for Marionette atoms. r=dburns

The atoms come licensed under the Apache 2.0 License from the Selenium
project.