Fix for issue 1418: a newline apparently made the median wrong.
Fixed issue 1347 (seemingly infinite loading)
Added @ealona's test cases.
implement eager loading for index action on main
do some formatting
Remove rcov support

As part of dropping Ruby 1.8 support, we can remove this cruft.
Add a test task for the lib/ directory and configure coverage for it
Remove ruby-debug from the Gemfile and configuration files
Remove platform requirement of simplecov in the Gemfile

Since simplecov is needed for all Ruby versions > 1.8
Fix updating of annotation overall comment

This fixes #1431. The instance variable `@result` is always the new
result of the remark, not the original old result. The caller of the
template passes the old result correctly as a local variable `result`,
but the template is not using it.

Tested:
- local server
- rake test:unit
- rake test:functional
Add functional test to cover comment edit forms
fix errant parens
Fix for issue-1414: Grade doesn't get updated when grading under TA
implement su's suggestions
Put a separator before the spreadsheets in the dropdown to make it a bit clearer of the separation.
Added GitHub issues list link in footer for admins and TAs
Changed if not to unless
Formatting.
Added translations for Github issues list link.
Issue 96: Implemented feature request for at least one column already present when adding spreadsheet.