Extended MajorityCollector to candidate voting.
Refactored MajorityCollector out of Leader and pulled Predicates into their own class.
Made MajorityCollector thread safe
Added checkstyle annotations
Added jacoco and checkstyle to project
Found setting to prevent perfectly good connections from getting closed, fixes #9
Converted project to modules to make room for other modules and test programs
Added protoc plugin to project:
Add compiler plugin to pom
Minor refactoring and cleanup