ACCUMULO-2928 Add equals, hashCode and toString to batchwriterconfig.

Also includes some formatting changes. Includes some basic tests to make sure
hashCode and equals are functioning.
Merge remote-tracking branch 'origin/1.5.2-SNAPSHOT' into 1.5.2-SNAPSHOT