move array patching into its own function
unpatch old array when changing arrays
Merge pull request #123 from Swatinem/each-unbind

Unpatch arrays in `each` when changing arrays
add history for unreleased version
Automatically rewritten for npm.