Add basic WebGL code

Added the necessary framework code to run WebGL in a Canvas, including
minimal shaders, attribute setup, viewport setup and a rendering loop
that renders a triangle for test purposes. Also added some basic mouse
handling code and test output.