Allow checkstyle failures fatal, and fix last issues

Failing disabled by default, but setting checkstyle.ignoreFailures=false
in ~/.gradle/gradle.properties enables failing. Travis will always run
with such failing enabled.
diff --git a/checkstyle.xml b/checkstyle.xml
index aed7e84..941f6f8 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -24,7 +24,7 @@
 <module name = "Checker">
     <property name="charset" value="UTF-8"/>
     
-    <property name="severity" value="warning"/>
+    <property name="severity" value="error"/>
     
     <!-- Checks for whitespace                               -->
     <!-- See http://checkstyle.sf.net/config_whitespace.html -->