Add basic checkstyle build task, and update formatting appropriately.