Proper hashCode and equals

Implements proper `hashCode` and `equals` methods and bumps SBT version.
Looks like I also ran the auto-formatter at some point.