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

fix for loop formatting
Merge commit '8a187c643bfda38868a96b8acd01e4224d350f97'