User Group api function added

Please use autoloader method to include classes. @dipskakadiya @PareshRadadiya 
Reference : https://github.com/rtCamp/rt-lib/blob/master/rt-attributes/class-rt-attributes.php#L531-L536