sysfs_class: add class_device:get_device() method

Note:

Use this method for getting the real device object associated with
this class_device object.