sensorhandler: move get sensor type to new api

Rewritten "get sensor type" command to use the newly
introduced ipmi provider api.

Tested:
Verified using ipmitool and it is giving same behaviour as before.

ipmitool raw 0x04 0x2f 0x3
Output: Unable to send RAW command (channel=0x0 netfn=0x4 lun=0x0 cmd=0x2f rsp=0xcb): Requested sensor, data, or record not found

Change-Id: Iad80ade2dc7985f10f318ab38a3c5d99543fd62b
Signed-off-by: Deepak Kumar Sahu <deepakx.sahu@intel.com>
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
1 file changed