Bug 896651 - Need to clean up resources for out-of-process layer trees when shutting down (r=mattwoodrow)