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

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

--HG--
extra : rebase_source : f2d78da408764170cb9f366d97960ca62245f113