Use class sensor_device moved from hal-api-sensor
Since the usage of the hal-api-sensor is changed, sensord should be
changed according to the change of hal-pai-sensor.
Below are change of hal-api-sensor:
* No C++ class in the header file
* Sensor device creation function does not return sensor_device object
but a unique ID for that sensor device object in the hal backend.
* All methods of sensor_device is implemented as a separated C
functions, which has same name as the original method name but has a
prefix "hal_sensor". Also those functions should be called with
sensor ID which is passed from creation function to distinghush
sensor devices.
According to those changes, sensord is also changed:
* Create a sensor_device compatible class to emulate the original
sensor_device class.
* Some minor changes according to the removal of some typedefs.
Change-Id: Ia1892d87d578a720ad63e228dedb5a0d58f91037
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>