getUsersInGroup resturns active member only

We are not interested in non-active member in the class or group. So the
function returns the active member only. Also add some functions to load
the users by List of roles to improve the efficiency.
Reformat code and update version to 1.0.9