Make scrollbars optional, remove toolbar stub from Puzzle.

R=spertus@google.com

Review URL: https://codereview.appspot.com/11860043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1148 c400ca83-b69d-9dd7-9705-49c6b8615e23
Adding many languages to puzzle app.
Also back-propagated a change from qqq.json to template.soy and
eliminated wikilinks within template.soy that did not do what I thought.

Review URL: https://codereview.appspot.com/11863043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1149 c400ca83-b69d-9dd7-9705-49c6b8615e23
The constructor for Toolbox.TreeControl was a bad place to attach events since the DOM is not ready. Instead I overrode enterDocument with a call to the superclass, then attaching touchEvents.
Also, there was a really interesting bug with attaching the touch handler. The onMouseDown method often took more than the time (I think 300ms) that the browser waits after a touch event before firing a mouse event. So before we could return from our handler (and register e.preventDefault) the mouse event was fired and queued on the execution thread. I confirmed this behavior with a test script which attached mouse and touch events to a div When the callback for touch spun for 1 second the mouse events got called, even though I called e.preventDefault(). When the 1 second sleep was removed the mouse events didn't fire.

R=neil.fraser@gmail.com

Review URL: https://codereview.appspot.com/11855043

git-svn-id: http://blockly.googlecode.com/svn/trunk@1150 c400ca83-b69d-9dd7-9705-49c6b8615e23