Bug 803299 - Enable 32-bit colour on Android. r=kats
Bug 803299 - Respect gfx.android.rgb16.force pref. r=blassey
Bug 803299 - More tests pass on Android with 24-bit colour. r=blassey

Tests that were marked as failing now pass with increased colour depth.
Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel
Bug 803299 - Some tests require extra fuzzing on Android in 24-bit colour. r=blassey
Bug 803299 - Replace black.png with black.html for webgl-color-alpha-test. r=jrmuizel

webgl-color-alpha-test fails to render the image correctly since switching on
24-bit rendering, presumably due to async image decoding. Instead, just replace
the pure black 256^2 image with a page that renders the same using a div.
Bug 803299 - Some SVG tests need more fuzzing on Android with 24bpp. r=jwatt
bug 803299 - Investigate using 24-bit or 32-bit color, only use 24bit for high memory (768MB RAM) devices r=kats
Bug 848344 - Clear media cache along with network cache when storage policy is set to STORE_ANYWHERE. r=michal
Bug 877976 - getTextAtOffset line boundary fails on last line of the document, r=tbsaunde
Bug 887368 - social notification icon not sized correctly on a retina screen, r=mixedpuppy.
Bug 890249 - Have jit_test.py --tbpl also run the shell without any flags. (r=jandem)
Bug 857461 - Fix tests to accept bogus assertion triggered by box-shadow rule. r=surkov.
Bug 857461 - pinstripe: non-native focus rings are applied for links in chrome. r=Mano.
Bug 888499 - Mark frames as dirty in a threadsafe way when imgFrame::ImageUpdated is called on them, and clear that dirty bit when we're drawing. r=seth
Bug 795737 - To avoid Cairo assertions, call Flush when we MarkDirty too, because we can draw locked images, which adds snapshots to the Cairo surfaces. r=Bas
Bug 717872 - Store a frame's raw image data pointer beside its imgFrame pointer so we can access it without having to lock the frame. r=seth

This patch makes us store imgFrames in FrameBlender with a new sort-of-tuple,
FrameDataPair, that is smart enough to be able to lock and unlock imgFrames,
and can be transparently cast to an imgFrame, but doesn't do too much else.
The alternative, storing a separate array of uint8_t pointers, seemed too
complicated.
Bug 717872 - Remove the imgFrame* helpers from FrameBlender now that we always have raw data pointers. r=seth
Bug 717872 - Don't change the content of mFrames, even when it'd be faster. r=seth
Bug 717872 - Make blending functions take const source parameters so it's a little less likely that we modify things in mFrames again. r=seth