Pmd

Fixed a number of errors reported by pmd: http://pmd.sourceforge.net/

http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/view/chainsaw/job/candlepin-pmd/92/pmdResult/