Implemented Emscripten and start of NaCl

Implemented support for Emscripten and start of NaCl. Added OpenGL-ES2
render support.