extending kstat.cc to support all kstat types
converting Object val types from Integer to Number
clean up cstyle