Minor tweaks to layout of file selector/download buttons. Dialogs have max-width of 100% now (so the About dialog looks alright on narrow screens). Tapping on a link in the content when the mobile menu is prevented (tapping content should just close the menu).
Fix for invite dialog being behind the overlay.
Blue sub sub menu
Keep middle pane actions (groups/graders) vertically centred. Converted some old modals to use the newer ModalMarkus modals.
Made some links into buttons so they're easier to tap
Expanding/Collapsing criteria use JS instead of AJAX calls
Formatting
Formatting
Get rid of a irrelevant FIXME comment
Merge pull request #1548 from arkon94/criteria

Optimize criteria expansion/collapsing. Fixes #916
file_selector margins
Merge conflicts
Merge pull request #1544 from arkon94/mobile-r2

Minor UI tweaks
Current status with strong_parameters migration

The functional tests are pointing out some difficulties in the
migration. I am going through controllers more thoroughly now.
Fix up the annotation category controller

Tests had to be adjusted to work with what strong parameters expects.
Fix initialization of assignments with submission rules

There seems to be some strange behaviour with regards to
strong parameters, nested attributes, and single table inheritance.
For some reason, no matter how I whitelist the nested attribute
specifying the type for STI, I always get a mass assignment exception.

The solution I have is a workaround that injects an invalid
submission rule for a new assignment. This causes the logic that
processes forms to replace the submission rule with whatever was
entered into the web form.