Miscellaneous cleanup

* Remove unnecessary casts
* Remove unnecessary boxing/unboxing
* Remove unnecessary parentheses
* Replace for with for each
* Remove more cruft
Remove findbugs, localytics, crittercism