Bug 774388 - Tiny reordering of when we shut down Layers IPC - r=nical,mattwoodrow
Bug 774388 - Patch 5: Wait for [CrossProcess]CompositorParent's to be gone before we tear down the compositor thread - r=mattwoodrow

Conflicts:
	gfx/layers/ipc/CompositorParent.cpp
	gfx/layers/ipc/CompositorParent.h
Bug 774388 - Patch 7: Block the main thread on compositor shutdown - r=mattwoodrow
Bug 774388 - Patch 8: Avoid a deadlock between shutdown of CompositorParent and of CompositorThreadHolder - r=mattwoodrow

Conflicts:
	gfx/layers/ipc/CompositorParent.h
Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow
Bug 774388 - Patch 10: destroy the ImageBridgeChild singleton on the main thread (and sprinkle some assertions) - r=mattwoodrow

Conflicts:
	gfx/layers/ipc/ImageBridgeChild.cpp
	gfx/layers/ipc/ImageBridgeParent.cpp
Bug 774388 - Patch 11: Use a plain RunnableFunction to release the ImageBridgeParent singleton - r=mattwoodrow

Conflicts:
	gfx/layers/ipc/ImageBridgeParent.cpp
	gfx/layers/ipc/ImageBridgeParent.h
Bug 774388 - Patch 12: make ImageBridgeParent 's refcounting implementation automatically defer destruction to the main thread - r=nical
Bug 774388 - Patch 13: Temporarily addref to prevent destruction during handling of sync Stop message, to avoid triggering the 'mismatched CxxStackFrames' assertion of MessageChannel - r=nical
Bug 774388 - Patch 14: block on ImageBridgeParent shutdown before we destroy the compositor thread - r=mattwoodrow

Conflicts:
	gfx/layers/ipc/ImageBridgeParent.cpp
Bug 1028588 - Make XPCOM refcounting assert against public destructors (leaving aside _INHERITED macros for now) - r=khuey
Fixed build issues relevant to compositor threads refactor, need to revisit missing changes in CompositorParent and ImageBridge classes