Fixed coding issues reported by IntelliJ, in particular reduction of iterators in favor of for-each loops and more parameterizing of Lists, Maps, etc.

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