sensor-hal-sensorhub: fix the bug caused by static member variable
- static member variable has to be declared for using it.
strangely std::vector variable is always okay regardless of a compile
order if it is declared once anywhere. but std::map is not okay.
dlopen() invokes the segmentation error when std::map variable is used.
but if compile file order is changed, it doesn't have problem....
- because the problem about initializing static member variable, it is
issued. so this patch just changes manager/controller to singleton class
for removing the code that use static variables.
- now it is fixed.
Change-Id: I84777861e5afc374a2ceecbd4d420a90c8f2c1ef
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>