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

--HG--
extra : rebase_source : df08f912b716c3a0a248ea9e86988ba0b72aaa39
Bug 879079 - Fix static rooting analysis failures from calls to defineOwnProperty; r=sfink

--HG--
extra : rebase_source : c8c491faef16ad0e1ebc4e624a54d85fd0a47029