Bug 985733 - Refactor element-setting code to not conflate typed array and dense element setting.  r=sfink

--HG--
extra : rebase_source : 4aa073095fd71a8116460427b0e6b5108757dff2
Bug 985733 - Add a test for typed element-setting using ToNumber semantics.  r=sfink

--HG--
extra : rebase_source : 64315d96fff2cc62bb3d3a1f25a8e70f9c580f61
Bug 985733 - Make assignments into typed arrays use ToNumber-style semantics.  r=sfink, r=jandem

--HG--
extra : rebase_source : 1b2f2a2f4978951fc5683f97127d5120a34c8630
Get rid of a bunch of redundant typedefs that just typedef'd an enum or struct to the same name -- useful in C, useless in C++.  No bug, r=trivial

--HG--
extra : rebase_source : e6b815fdfab74d77b9e507ed1dea988517c2d0e6