Bug 855350 - GC: Add CustomAutoRooter and use it internally r=terrence

--HG--
extra : rebase_source : ff4fdd39c15223bff4682b8c7b9833922e355999