Bug 879079 - Fix rooting analysis bugs from calls to ToNumber; r=sfink

--HG--
extra : rebase_source : 98a04e315c9a372864d37447a102960737457aa1