Refactor users/projects/code_submissions/evaluations controllers

Make them use scopes and modules like good ruby coders. 
Closes #904