Fix issue where courses without team memberships display courses properly, consolidate course membership queries, fix leaderboard select bug
Merge pull request #828 from UM-USElab/2014-11-27--fix_leaderboard_team_issues

Fix issue where courses without team memberships display courses properl...