Added checkstyle to API, will continue to build on fail and copy to console, copied definitions from patientview1 (to review, consider failing build on failed checkstyle)