pmd: UnusedFormalParameter: removed unused params

As we have refactored code we have neglected to change the method signatures
which leaves unused parameters in methods and propagates throughout the
code. The ones found by pmd were pretty isolated which made the fix
simple, but something we should keep an eye on as we refactor code.
suppress the warnings of intentional unchecked casting
remove cast to int

PoolRules had a FIXME comment where a long was being cast to an int
only to satisfy the call to Integer.toString(). If we simply wanted
a String of the value then String.valueOf() removes the need for
the cast, it will also keep the precision (not that we were
in danger of hitting it).
pmd: remove unused private variables
pmd: remove unused local variable.

Set<ProductContent> filtered was defined probably for some other
feature but it is no longer being referenced in the method. Removing
Merge pull request #308 from candlepin/zeus/pmdfixes

PMD code cleanup