Checkstyle rules applied to a few files

Critical and major warnings resolved.

A number of warnings ignore:
- 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)