Fixes order of @meets_deadline and @needs_teacher on various views.

This will cause a teacher who accidentally makes a student account to get a @needs_teacher error (which is helpful) instead of a deadline error (which isn't) if they go to teacher registration, for example.  This was generally not necessary before the schema changes, since the deadline was open for all users, but with the new Permissions system it will generally only be open for the correct Role.