Refactor student and student_membership model

Minor things related to Rails 4 and style cleanup.
Align the elements of an array literal if they span more than one line.