Changed {request,cancel}AnimationFrame functions
Fixed small bug in core
Added tests for all Game.* functions