Carlos helped optimize the db queries for merit highscores
Merit

- Carlos Merit leaderboard per cohort magic!
add tests for staff members controller
Merge branch 'master' into ryan/moar_tests
update members controller spec with tests
add tests to staff locations controller spec
update staff courses controller to remove extraneous code in new action
build out courses factory
add tests for courses controller spec
clean up code in courses controller spec
update cohorts factory
add tests to cohorts controller spec
clean up code style in staff base controller
update cohorts factory and staff cohorts controller spec
add tests to staff base controller spec
add tests to staff assignments controller spec
tried adding a test for the ajax method to staff answers controller, but it is broke
add test for student profile to dashboard users controller spec
add tests for dashboard base controller spec
add tests to dashboard assignments controller spec