Refactor some more models

Grouping attribute constraints, and updating some queries for Rails 4.
fix grader in criteria checkbox bug
scope, props refactor for students_table
scope, props refactor in groups manager
basic refactor for submissions table
move stuff to default props in summaries table
add some comments to graders manager
make session store point to config settings
ok, now fixed selected all criteria
Merge branch 'finders6' of https://github.com/ferrous26/Markus into finders6
Hound complaints
Merge pull request #1695 from oneohtrix/react-criteria-checkbox-patch

fix grader in criteria checkbox bug. Fixes #1680
Merge pull request #1699 from oneohtrix/session-patch

make session store point to config settings
Merge pull request #1697 from oneohtrix/react-refactor

React refactor