Fix array splice when given negative start

And add tests
Merge pull request #40 from Stuk/array-splice

Fix array splice when given negative start