Fix #63: Use auto-value for Event classes.

@hamidp I'm stealing this from you ;-o

https://github.com/nebula-plugins/gradle-extra-configurations-plugin