Merge pull request #7 from ArmatureLabs/master

From AL
Removing global variables.
Setting up a load/unload loop.
Setting the camera start position.
Adding code to support material clean up.
Solving some cross browser compatability issues.
Fixing some cleanup related bugs found while soaking.
Cleaning up logging.
Debug improvements.
Improving state name propagation.
Addin mouse event handlers.
Mouse updates.
Send in the context to create the lesson instead of just the scene and the hud.
Connecting to a mouse event from the context to fire the exit request.
Moving the load/reload loop to the main state machine.  It is now possible to create more scenes driven by their own (independent) state machines and chain them one after another.
Turning off FSM debug traces.
Merge pull request #33 from arturo-mayorga/demo-nav

Demo/test case robustness updates