Add Checkstyle

Add a checkstyle config in order to more easily make sure that contributions meet guidlines.

Run using `gradle check`