couple of changes
use new function rather than eval, it's neater and very marginally faster
fixed undo behaviour on firefox - it was getting screwed up - i don't think firefox likes people adding members to int arrays
using a single vector for getMovements shaves about 25% off performance on firefox, and 15% on webkit
using cloneInto rather than clone to reduce allocations improves performance on webkit by ~15% and firefox by ~25% (of test-suite, not actual game)
dunno
oops
further optimizations
forgot some functions
more optimizations (allocation reduction)
Merge branch 'dev'