Bug 957950 - Refactor tempRoot scope in WebIDL codegen. r=bz