Address FindBugs issues and disable some detectors

This commit fixes enough FindBugs issues and disables enough detectors for `mvn findbugs:check` to pass.