make 'put' work like 'array[index] = value' instead of falling back to splice

allows putting values beyond current length
fix 'put' value._diff
fix put value._diff when index < originalLength
Merge pull request #10 from mmckegg/master

allow 'put' of values beyond current length