Started porting the unit tests to AtScript.

Also swapping out jasmine for mocha/chai/sinon.
Unit test cleanup - type checking is now handled by AtScript.
Fixed an issue were arc-drawn paths would close with a straight line instead of an arc.