Bug 1015742 - refactor JSOP_SPREAD to work on iterator; r=jorendorff