Fix auto-positioning of blocks with dirty XML input.

Fixes two underlying causes that conspired to break auto-layout for certain levels—

1. The XML coming in to the blockly parser had a bunch of newlines and spaces which ended up getting parsed as its own XML element.
2. The block auto-layout mechanism ignored these non-block XML elements, but still counted them when auto-laying out.