Checkstyle rules applied to a few files

Critical and major warnings resolved (private constructor declaration, making class final, removing commented code).

A number of warnings ignored:
- empty If stmt in RuntimeAnalysisExample.java
- A method/constructor shouldn't explicitly throw java.lang.Exception in SubjectClassTest.java

(a sample of what the Checkstyles changes can be)