added type checking and fixed type warnings

The compiler was not emitting the percentage typed or warning about unknown types.
Now it does! Also fixed all existing warnings
Add basic WebGL setup

Initializes the WebGL context, sets clear color, and clear the screen.
Merge pull request #8 from msiebert/basic-webgl

Basic webgl