Bug 864558 - Fix some minor issues with SMS sending and filtering.  r=mounir, r=mrbkap taking into consideration a comment by bz

--HG--
extra : rebase_source : 6a63d12a77e7aec9d8719e338b138dcab7d1e3ac
Bug 858381 - Implement non-writable array lengths, and add a boatload of tests.  r=jorendorff and r=bhackett for the major parts of this, r=jandem for the methodjit changes, r=jimb on a debugger test change, r=nmatsakis for the parallel test.  (More details available in the bug, where individual components of the fix were separately reviewed.)

More random details:
Various JIT components required updating for this.  In the case of some
methodjit bits, this meant simply disabling those optimizations.  This
patch also, passing, improves the Array.prototype.push method's
fast-path to work for any number of provided arguments, not just one.
The patch also fixes a few pre-existing bugs in how array length setting
works and includes the appropriate tests.  (If anyone notices, it's
because they were a test in a test suite.)  I also added a ParallelArray
test that verifies that arrays with non-writable length function
correctly in parallel code.  We bail before getting there now, because
Object.defineProperty isn't parallel-friendly, but if it ever becomes
so, hopefully the test will start failing.  Hello, is this thing on?
Minor style fixes to ObjectImpl.h.  No bug, r=sparky
Bug 863970. Remove some dead code in imagelib. r=seth