(maint) refacter kstat into its own resource

kstat is a kernel statistics API that present in solaris, and other
operating systems (like FreeBSD). This patch adds a c++ API around the
kstat and related structures so that they can be used correctly, and error
handling is simplified.
(maint) use the new kstat api for uptime_resolver
(maint) use the new kstat api for processor_resolver
Merge pull request #126 from vrthra/maint/kstat/solaris

(CFACT-70) maintenance - refactor usage of kstat to a wrapper