Fix checkstyle issues and enable build failure when checkstyle errors oc...

...cur using Eric's changes