fix conditional blocks to determine current condition type correctly
Set default function name to 'Func1'
Fixed conversion to Commands for "funcdef" block.
Generate only necessary Blocks.
- bunch of stuff

- added conversion from CommandMode.Command to Blockly.Block (rewritten generateVisualCommand methods)