Add student rank/average in student list / prepare redis for heroku

This pull request makes two changes.

+ Adds the student rank and average to the student index, to make it like a leaderboard.
+ If there is a redis url in the environment, use it to create a redis client (for heroku)