WebService bug fixes and enhancements

Bug in finding a user (JOIN on permissions instead of LEFT JOIN)
Add functions to return all courses and just current courses.