Added missing `local` declarations
Fixed array.slice
Fixed array.reverse
Merge pull request #55 from mpeterv/fix-array-methods

Fixed array.slice and array.reverse