Add Checkstyle

Add a checkstyle config in order to more easily make sure that contributions meet guidlines.

Run using `gradle check`
This construct is actually pretty rare and kind of ugly to exist on its own. Go with third option I think. This code isn't even really used.