added migrations to add indexes for indentities, student_action_types, and student_actions
moved some logic out of views
migrated
Merge pull request #221 from rwarbelow/add_index_to_student_action

Add index to student action