bug 894313 - GeckoThread should own its own static instance r=kats

--HG--
extra : rebase_source : bf7fdb0a4bd399c4edcc2046ed4c232b41a3827b
Bug 902820 - Fix a bunch of compile warnings in SpiderMonkey.  r=till.

--HG--
extra : rebase_source : 0306d26443640104bae575a60fec7a693f7b43c5