Bug 935274, speed up getting wrapper from nsIHTMLCollection, r=peterv

--HG--
extra : rebase_source : d5d0a8355ee84ce6291ae8ebca8f76e06f6cc44e