Add yield suspensions (soft timeout)
Correct codegen with dumpJS on
Add default handler for Sk.yield
Fix setTimeout exists check in time
Merge pull request #307 from trinketapp/turtle-suspensions

Beginnings of turtle via suspensions
Merge pull request #308 from trinketapp/turtle-suspensions

Updated anonymous turtle methods to use suspensions
change image function
Merge remote-tracking branch 'upstream/master'

Update my local branch
Turtle rewrite

complete rewrite of the turtle module
Updated float/int cast methods
Merge branch 'master' into turtledev
Adds an undo stack

Implementation of undo command (max 1000)
Must be enabled by setundobuffer(N) where 0 < n < 1000
Fixed getCoordinates for case when a vector is passed in
Merge branch 'turtle-suspensions' of https://github.com/trinketapp/skulpt into trinketapp-turtle-suspensions
Merge branch 'trinketapp-turtle-suspensions' into turtledev
Cleans up/fixes heading calculations

better/simpler angle calculations
better $circle logic
fixes errors with setx, setx and write
Adds event handling capability to turtle

adds a MouseManager and EventManager class for tracking events
adds onclick onrelease and ondrag to turtle
adds onclick onscreenclick and ontimer to screen
update bgcolor to color the screen canvas and not the canvas container
Fixed home command to use properly scoped variable
Change the functions
Redo of render loop to respect tracer and delay properly

Updated to render all turtle sprites on the same layer for mucho better performance
Refactored render loop to actually use the tracer and delay settings properly
Cleaned up render state management