Fixed pom.xml indentation and added log4j support.

Fixed Sonar function modifier warnings.
Fixed Sonar warnings about method modifers.

Mainly fixed unncessary final modifiers and made modifier
order consistent.
Added log4j logging to the main CLI app.

Currently just using a BasicConfigurator default so that all
logging is done to the terminal.