Fix has_many conditions wich didn't work when doing joins and includes.
Add nice api to get course completion stats.
Update changelog
Merge remote-tracking branch 'jamox/stats'
Fix N+1 in ExerciseStatusController and require .json in URL.
Clarified comments on has_many :conditions.