Fixed style nits caught by RubyMine.
Merge pull request #742 from code-dot-org/nits

Fixed style nits caught by RubyMine.
Added length message.
Added K1 check.
Merge branch 'better-hints' of github.com:code-dot-org/blockly into better-hints