Consistent use of EOL and spaces in snippets

This PR addresses #52 for the sake of consistency in snippets, for example:
`for(` to `for (` # statement
`if(cond)\n{` to `if(cond) {` # statement, EOL to space
`main (` to `main(` # function