[#591] Minor optimizations in me.Matrix2d and me.Tileset

- `me.Matrix2d` had the same kind of issue with `arguments`
- `me.Tileset` had a performance issue in the `update` method for iterating the animations hash. This was replaced by an ES6 Map.