Fixes start blocks and provides better XML parsing errors.

Soy template's fix up =false and =true attributes on XML nodes, except when you turn of auto-escaping. This uses explicit quotes and also stops using Blockly.xml.textToDom, which has broken error checking. New xml module provides much better error checking.