fix formatting of: for, if, while, switch closes #3136 refs #3137
Merge pull request #3138 from friedmud/for_loop_3136

fix for loop formatting