Adds various functions to the Workspace context menu, including collapse/expand
top blocks,  arrange horizontally or vertically or diagonally, and sort
by width, height, and block category. This also fixes the the setVisible_ bug
in connections.js (Trac Issue #3). This version automatically rearranges blocks after
sorting, collapsing, or expanding. And it is up-to-date with the patch submitted
to Blockly.

Change-Id: Icbd0c4a05de0e55e2e476f11eb830023a3e83dbb
fix the firefox bug where blocks look strange

cause the blockly javascript code to only load after the user has clicked the "blocks" button
YaBlocksEditor now calls a initBlockly function to initialize blockly, and afterBlocklyInit is called
to do everything the old onShow function did

Change-Id: I7b4609ccf7d3203a19656803cce4d06eab77b572