Bug 712939 - Replace a bunch of JS_STATIC_ASSERTs with static_assert.  r=jandem

--HG--
extra : rebase_source : 4205bda533538d866b8facd669b11cb40e2f02e9
Bug 712939 - Replace a bunch more JS_STATIC_ASSERTs with static_assert.  r=jandem