fix event handling.

Calling `hammer.off(...)` in an event handler can lead to a "cannot call method of undefined" error in the for loop on line 233. This is because `var handlers` refers to the same object as `this.handlers` does. Using `Array.slice()` solves this issue.