cast step_mode to blockly value
Merge pull request #948 from code-dot-org/step_mode_integer

cast step_mode to blockly value