Deleted users fix

Don't add the deleted users in the list of the users extracted
by the courseid. Allow the user to be extracted by using the
userid and the username. This allows the webservices to serve
user data of the deleted users that have posted inside the forum
discussions. Still they are not listed in the list of the users.