Minor Sonar issues fixed and some code reformatting (switching from tabs to 4 spaces.)

git-svn-id: https://svn.apache.org/repos/asf/roller/trunk@1583506 13f79535-47bb-0310-9956-ffa450edef68