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
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
Added GitHub issues list link in footer for admins and TAs
Added translations for Github issues list link.
Merge pull request #1465 from arkon94/issue-644

Added GitHub issues list link in footer for admins and TAs
Manual disable/update of log in button
Replaced disabled_with with data-disable-with
Merge branch 'issue-1414-r2' of https://github.com/arkon94/Markus into arkon94-issue-1414-r2
Merge pull request #1463 from arkon94/issue-1414-r2

Closes #1414: Grade doesn't get updated when grading under TA
Merge branch 'issue-1418' of https://github.com/arkon94/Markus into arkon94-issue-1418
Merge branch 'master' of https://github.com/MarkUsProject/Markus
Merge pull request #1438 from zhangsu/fix_annotation_overall_comment

Fixes #1431.