Fixes array.shift to not remove 0 at index 1. Fixes #472
Merge #513 r=@tcr: Fixes Array.prototype.shift to not remove 0 at index 1. Fixes #472

This was actually an issue with Array.prototype.shift, not Array.prototype.splice, but alas.