Difference page for slaves also updated, some checkstyle fixes and code improvements.

JobConfigBadgeAction formatting left untouched, some small checkstyle fixes.