Merge pull request #827 from UM-USElab/import-fixes

Import fixes
Fix issue where courses without team memberships display courses properly, consolidate course membership queries, fix leaderboard select bug