Added core_user_get_users_by_field calls to MoodleRestUser. Also added field aim and tested some return values for "null" and empty strings within MoodleUser.