Fix recovery for 'for' expression
Don't parse entries if left brace absent in 'when'
Fix errors in intentions after parser fixes
Formatting: Move '}' to next line in when
Refactoring: move function trimIndent
Smart enter for if statement

 #KT-3600 In Progress
Smart enter for while statement

 #KT-3600 In Progress
Smart enter for 'for' expression

 #KT-3600 In Progress
Smart enter for 'when'

 #KT-3600 In Progress
Smart enter for 'do-while' expression

 #KT-3600 In Progress
Smart enter for fun declaration

 #KT-3600 In Progress
Smart enter in function literal expression

 #KT-3600 In Progress
Smart enter for one line statements in for, while and do-while

 #KT-3600 In Progress