Bug 795542 - Part 1: Create Text(En|De)coderBase. r=bent a=tef+

--HG--
rename : dom/encoding/TextDecoder.h => dom/encoding/TextDecoderBase.h
rename : dom/encoding/TextEncoder.h => dom/encoding/TextEncoderBase.h
Bug 795542 - Part 2: Implement StringEncoding API objects in Workers. r=bent a=tef+
Bug 844705 - Should send socket data in main thread. r=echou, a=tef+
Bug 850566 - Part 1: Add image size to SurfaceDescriptorGralloc. r=nical, a=tef+
Bug 850566 - Part 2: Render gralloc buffer by using image size. r=roc, a=tef+
Bug 850566 - Part 3: Set video size to SurfaceDescriptorGralloc. r=doublec, a=tef+
Bug 801120 - Support T* WeakPtr<T>::get(). r=Ms2ger, r=ehsan, a=tef+
Bug 821804 - Allow unitialized WeakPtrs to work properly. r=Waldo, a=tef+

This ensures that the WeakPtr always points at a valid object and avoids the
need to test for that during operations.
Bug 826410 - Add a missing interface to MediaElement's QI impl. r=jst, a=tef+
Bug 859307 - [updates] wrong behavior when the manifest changes but not the packaged zip. r=ferjm, a=tef+