Remove first indent from code formatting - batch 4

Also, put braces on if statements for consistency and readability.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5797 2fea6a4d-a838-0410-917b-93a53c48e9d2