A new join table - commentaries - between questions and tex-comments ...

Going forward, it would be become increasingly common - and necessary -
to quickly load all TexComments for a Question. Hence, the join table
Only one entry per (question, tex-comment) pair in the DB
Query Commentaries table to get applicable comments for a question
 Removed superfluous alert
No need to subtract 50px from y-offset if grading stabs ...

The 50px was subtracted to account for the shadow that was overlaid on
top of the overlay. That shadow is not there in the stabs grading panel
No need to redefine method question
No need for restricted argument in preview_images
Force IST when finding seconds_since_midnight
First draft of the stab grading panel ...

TBD:
  1. reporting an issue
  2. Storing quality in stabs/grade
Merge branch 'master' of github.com:abhinavc/web-application
Correction in data-transfer logic of the migration ...

Had modified Question.comments AFTER running the migration locally.
And then checked in the new definition of the method
Merge branch 'puzzle'
Cutting puzzles some slack
Merge branch 'puzzle'
Minor styling changes
More styling changes
Seprate table for tracking behavioral metrics of a student
Added a new table - DailyQuiz

All  that the table stores is a comma-seprated list of 20 Question IDs
that make up today's Quiz

No compilation done. We only ensure that the questions:
  1. haven't appeared in the last N days ( default = 2 days )
  2. are available
  3. are of Grade 11/12 level

Call DailyQuiz.load to get the list of questions. A new DailyQuiz
created by ** cron-job ** every midnight
Added a cron-path - quiz/daily - to generate daily quiz

Will use for the duration of the pilot. Will then cancel the cronjob
Need to declare before_* callbacks earlier than was being done

Also, can't have self in private method calls