Bug 1082583 - Avoid shadowing iter variable in DOM bindings generated code. r=bz.

--HG--
extra : rebase_source : dcf91cdcb4676ac37772756d4ac42126352f3675
Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.

--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085